giveup _screams_

This commit is contained in:
mcrcortex
2025-05-02 16:31:23 +10:00
parent cc1f63b443
commit ad0d1ede41

View File

@@ -135,7 +135,7 @@ public class ChunkBoundRenderer {
glBindFramebuffer(GL_FRAMEBUFFER, this.frameBuffer.id); glBindFramebuffer(GL_FRAMEBUFFER, this.frameBuffer.id);
this.rasterShader.bind(); this.rasterShader.bind();
glBindBufferBase(GL_UNIFORM_BUFFER, 0, this.uniformBuffer.id); glBindBufferBase(GL_UNIFORM_BUFFER, 0, this.uniformBuffer.id);
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, SharedIndexBuffer.INSTANCE_BYTE.id()); glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, SharedIndexBuffer.INSTANCE_BB_BYTE.id());
//TODO: BATCH with multiple cubes per instance, this helps fill the pipe and should greatly improve performance of this //TODO: BATCH with multiple cubes per instance, this helps fill the pipe and should greatly improve performance of this
int count = this.chunk2idx.size(); int count = this.chunk2idx.size();