Hi again,
I've written a basic particle system. I don't need a GPU based one, but I'd like to check that there aren't some obvious improvements to what I've implemented.
Each frame I fill an array with a quad for each particle i.e. 4 vertices which each have; Pos (3 floats), Tex Coords (2 floats) and Color (4 floats). I then call glBufferSubData to put this into an existing GL_WRITE_ONLY VBO which I have created to be big enough to hold the max number of particles
I then render the VBO of particles with glDrawArrays GL_QUADS.
Each particle and be a different size and colour and graphics come from a single texture sprite sheet of particles.
Any improvements I could make?
Thanks,
Stuart.