Re-add face culling as required for instanced shadow caps

This commit is contained in:
2023-03-14 11:26:32 +00:00
parent 6af041bb8c
commit bfd079ed2a
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -261,7 +261,7 @@ instanceLightMap cfig pdata lightPoints nWalls nSils nCaps toPos = do
GL_UNSIGNED_SHORT
nullPtr
--draw caps on the near plane as required
--glEnable GL_CULL_FACE
glEnable GL_CULL_FACE
glCullFace GL_BACK
--glCullFace GL_FRONT
glUseProgram (_shadName lcapShad)