Hello. I’m using Lime next to create my own OpenGL framework and I’m trying to make a bitmap font rendering engine but the fields seem to stop rendering at 64 characters in. I’ve traced this back to my draw call batching which collects up vertices and indexes until a different shader or texture is required and then triggers a drawElements call with all the data.
Before I buffer the data, I know the vertex and index arrays have all of the information but as soon as they are buffered and passed to the draw call, they seem to be cropped. I’m wondering if the index buffer or the vertex buffer have a limit on how many items they can hold? Is this because of it being a UInt8Array? Does anyone else have any ideas?
I’m trying to draw 111 quads as triangles, each has 4 vertices made up of 9 floats each and 6 indexes.
EDIT: More information I have tried getting the buffer size parameter and it matches with what I’d expect. The index buffer size is 666 and the vertex buffer size is 15984 (11149*4)