Bind dummy vao once during preloadRender; fix texture shader normals
This commit is contained in:
@@ -175,7 +175,6 @@ renderShadows isclouds cam cfig shadrendertype nWalls nSils nCaps positiontextur
|
||||
glDisable GL_CULL_FACE
|
||||
-- the first bit has been used to stencil out "ceilings" under which we never draw
|
||||
glStencilFunc GL_NOTEQUAL 128 255
|
||||
glBindVertexArray $ pdata ^. dummyVAO
|
||||
--draw wall shadows
|
||||
--these could possibly stencil out object shadows as well
|
||||
glUseProgram shadwall
|
||||
|
||||
Reference in New Issue
Block a user