I'd guess that you're hitting the vertex or index buffer limit. SetColorTexture will create a texture of that color and would prevent render batching. Instead use SetColorTexture(1, 1, 1, 1) to create a white texture and then use :SetVertexColor to tint them. That should allow everything to be batched.
|