I’ve found 3 approaches:
- uniforms - limit is too small (limit in effect even when I tried batching the array into multiple arrays)
- through vertex attributes from BufferAttribute (vertex attributes don’t seem to allow arrays & might have an even smaller limit from what I’ve read)
- textures (I already have a texture I’m working with, but that should be fine, I think multiple are allowed in the shader… BUT isn’t a texture also passed in a uniform?)
I need to pass vec4 of floats in my array (or a format where I can pass 3 coordinates & 1 count)
What would be the best approach?