I am the biggest dumbass to ever exist (forgets the most important thing with occlusion culling)
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user