Re-add face culling as required for instanced shadow caps
This commit is contained in:
+1
-1
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user