Hey peeps!
I have a quite general question about framerate and usage of vertexarray to draw quads.
So, basically, I have a working particle engine. I noticed that, when generating particles,framerate gets better the tigther the particles are together. That means that if i create a particle emitter that draws 400+ quads ( with vertex array ) on a single spot all the time with BlendAdd, i get around 60 fps (just an example value), but if i draw the same particles spread over the whole screen with the same setting, I get around 40 fps.
So I am wondering if someone knows the more fundamental details of how SFML handles drawing with Blend Add e.t.c. For me it makes sense that when drawing particles tighter together, the framerate should be lower, not other way around since you then have more quads that need to be blended together at one area.
So in a more general sense, when designing particle effects in game with performance in mind, what are the tips? (besides less particles in total ofc)
- Less spread ?
or
- More spread ?
From your experience, how does size of the particles affect it all?
And why exactly?