Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

timmay314

Speeding up my particle system

This topic is 5331 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I made a particle system using textured quads (point sprites couldn''t get big enough), and it''s very slow. I go from 125 fps to about 60 when about 30 particles are close to the camera, and that really needs to improve if possible. Is there any way to batch my quads or do something else like that instead of rendering them one at a time? Since I have to scale and translate each one separately for the billboarding to work, I didn''t see how I could do this. Any other general tips for speeding it up would be appreciated as well.

Share this post


Link to post
Share on other sites
Advertisement
The problem might be that you are close to the particles,
as your fill rate will be killed by overdraw.

Your drawing pixels over pixels over pixels over pixels

to get an idea of the performace of your particle system,
try very small particles - see how many you can have on screen -
spread out.... I expect you can have 1000''s.... but as soon as you make them bigger and they begin to overdaw each other- performace will die.

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!