Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -203,9 +203,7 @@ public class Gl46FarWorldRenderer extends AbstractFarWorldRenderer<Gl46Viewport,
|
||||
this.lodShader.bind();
|
||||
this.bindResources(viewport);
|
||||
|
||||
glDepthMask(false);
|
||||
glMultiDrawElementsIndirectCountARB(GL_TRIANGLES, GL_UNSIGNED_SHORT, 400_000 * 4 * 5, 4, this.geometry.getSectionCount(), 0);
|
||||
glDepthMask(true);
|
||||
|
||||
glEnable(GL_CULL_FACE);
|
||||
glBindVertexArray(0);
|
||||
|
||||
@@ -159,9 +159,7 @@ public class NvMeshFarWorldRenderer extends AbstractFarWorldRenderer<NvMeshViewp
|
||||
this.translucent.bind();
|
||||
this.bindResources(viewport);
|
||||
|
||||
glDepthMask(false);
|
||||
glDrawMeshTasksNV(0, this.geometry.getSectionCount());
|
||||
glDepthMask(true);
|
||||
|
||||
glEnable(GL_CULL_FACE);
|
||||
glBindVertexArray(0);
|
||||
|
||||
Reference in New Issue
Block a user