diff --git a/src/graphics/irr_driver.hpp b/src/graphics/irr_driver.hpp index 767cc9b13..b5732f2f3 100644 --- a/src/graphics/irr_driver.hpp +++ b/src/graphics/irr_driver.hpp @@ -300,7 +300,7 @@ public: bool usesShadows() const { - return supportGeometryShader() && UserConfigParams::m_shadows; + return supportGeometryShader() && UserConfigParams::m_shadows && !needUBOWorkaround(); } bool usesGI() const