Particles, point sprites and quads

Started by
0 comments, last by scratt 15 years, 8 months ago
I have been working on a basic particle system but would like to be able to rotate the particles as well as scale. Point sprites cannot be rotated it seems. So I'm thinking of using quads instead. I'm curious will there be a performance hit going from point sprites to quads? Is moving to quads the only option to have rotating particles?
Advertisement
You could in theory rotate point sprites with the texture matrix.
I have never done it, but am going to try that today coincidentally. I am sure the theory is sound.

Another option is to use QUADS, and put them in an efficient buffer format.
Then either draw them from that buffer on the GPU, or with glDrawArrays from a fast client side cache.
I doubt you will notice much performance difference between that and PointSprites proper.
Feel free to 'rate me down', especially when I prove you wrong, because it will make you feel better for a second....

This topic is closed to new replies.

Advertisement