Bind dummy vao once during preloadRender; fix texture shader normals

This commit is contained in:
2025-11-24 12:54:57 +00:00
parent 65d7b93a32
commit f5a972d9e2
5 changed files with 3 additions and 16 deletions
-1
View File
@@ -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