Jump to content
  • Advertisement
Sign in to follow this  
Aiursrage2k

Particle System

This topic is 4512 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 am working on a Particle System, since current graphics cards prefer to have large batches of data rather than many small batches I want to reduce # of batches. There are two ideas that I am toying around with: shader instancing (my hardware is not capable of preforming hardware instancing) or using a dynamic vertexbuffer. Shader Instancing has N (N=255) constants and would require no locking of the buffer, but would only allow N particles per batch. Using a dynamic vertexbuffer would mean it would have to get locked but would allow for fewer batches. It would then be a matter of locking versus batches... I do not know which one to method to use, if there is a better/different way I am all ears.

Share this post


Link to post
Share on other sites
Advertisement
I think you should try both ways and time them. The results probably depend on the number of particles. I would be interested in knowing what you get.

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!