Cleanup, correcly filter unimportant shadow silhouettes

This commit is contained in:
2025-11-12 23:10:33 +00:00
parent 5e9d337288
commit b012d3c41e
3 changed files with 10 additions and 19 deletions
+2 -2
View File
@@ -188,8 +188,8 @@ renderShadows shadrendertype nWalls nSils nCaps positiontexture normaltexture li
glEnable GL_CULL_FACE
glCullFace GL_BACK
glUseProgram (_shaderUINT lcapShad)
glUniform3f 0 x y z
glUniform4f 1 r g b rad
-- glUniform3f 0 x y z
-- glUniform4f 1 r g b rad
-- glFrontFace(GL_CW)
glDrawArrays GL_TRIANGLES 0 (fromIntegral nCaps)
-- glFrontFace(GL_CCW)