optimize shadow maps generation a bit

This commit is contained in:
MihailRis
2025-07-22 01:41:52 +03:00
parent e24d1bdb9c
commit 6debc92ae5
2 changed files with 21 additions and 9 deletions
-1
View File
@@ -400,7 +400,6 @@ void WorldRenderer::generateShadowsMap(
shadowCamera.setProjection(glm::ortho(min.x, max.x, min.y, max.y, 0.1f, 1000.0f));
{
frustumCulling->update(shadowCamera.getProjView());
auto sctx = pctx.sub();
sctx.setDepthTest(true);
sctx.setCullFace(true);