Sign in to follow this  

Particle System

This topic is 4328 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
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

This topic is 4328 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this