diff --git a/src/graphics/rtts.cpp b/src/graphics/rtts.cpp index 723dfdd80..6fb3ba12c 100644 --- a/src/graphics/rtts.cpp +++ b/src/graphics/rtts.cpp @@ -245,7 +245,7 @@ RTT::RTT(size_t width, size_t height) if (UserConfigParams::m_shadows && !irr_driver->needUBOWorkaround()) { - shadowColorTex = generateRTT3D(GL_TEXTURE_2D_ARRAY, 1024, 1024, 4, GL_R32F, GL_RED, GL_FLOAT, 1); + shadowColorTex = generateRTT3D(GL_TEXTURE_2D_ARRAY, 1024, 1024, 4, GL_R32F, GL_RED, GL_FLOAT, 10); shadowDepthTex = generateRTT3D(GL_TEXTURE_2D_ARRAY, 1024, 1024, 4, GL_DEPTH24_STENCIL8, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8, 1); somevector.clear();