Cleanup, correcly filter unimportant shadow silhouettes
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user