I am the biggest dumbass to ever exist (forgets the most important thing with occlusion culling)

This commit is contained in:
mcrcortex
2024-01-20 15:03:10 +10:00
parent df6c56d62d
commit 17cac4fb26
2 changed files with 4 additions and 4 deletions

View File

@@ -110,8 +110,6 @@ public class Gl46FarWorldRenderer extends AbstractFarWorldRenderer {
glColorMask(false, false, false, false);
glDepthMask(false);
glEnable(GL_DEPTH_TEST);
glDepthFunc(GL_LEQUAL);
//glEnable(GL_REPRESENTATIVE_FRAGMENT_TEST_NV);
glDrawElementsInstanced(GL_TRIANGLES, 6 * 2 * 3, GL_UNSIGNED_BYTE, (1 << 16) * 6 * 2, this.geometry.getSectionCount());