giveup _screams_
This commit is contained in:
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user