Jump to content
  • Advertisement
Sign in to follow this  
angry

Slow Particles

This topic is 4386 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 got some weird stuff going on. I've made a simple particle system and I get some weird slowdowns/jerkyness whenever I get close to the particles, even tho my fps doesn't go down that much. Far away it's as smooth as can be. To get rid of the jerkyness completely I have to go down to 40 particles. Sure my graphics card is probably not the best but that can't be it. I'm running on an ATI Xpress 200 series onboard graphics. My FPS jumps around from about 27 fps to 100+. Anyone got any ideas? If you wanna try it out, you can download it here:> Download.

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
its a fill rate problem. When your particles are further away, they are smaller and therefore dont take as long to render to the screen. When the particles are upclose more pixels must be set to render a single particle and therefore lots of large fills slow down your performance. Your particles are also using alpha blending, which requires a read of the pixel values already in the backbuffer before the rendered values can be blended with them. Make sure to turn on alpha testing and aplha blending, this is problably the only performance boost you well get up closes. Turning on alpha testing, will not alphablend values under a certain threshold, possibly increasing performance.

Share this post


Link to post
Share on other sites
Ahh.. I turned on the alpha test and it helped a bit.

Thought that I wouldn't need it cause I was disabling the depthbuffer... but there ya go :)

thanks

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • 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!