Sign in to follow this  

Point sprites

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

Hi everyone, I'm using point sprites to render a particle system. The problem is that when the system is close to the camera the size of point sprites stops increasing having reached some value. I guess there's a GPU limit for point size. Is it solvable? Or should I just switch back to traditional quads? Thank you

Share this post


Link to post
Share on other sites
You could try D3DXSprite as a third option. It doesn't seem to share the point sprite's scaling problem, and gives you extra functionality such as automatically batching and sorting sprites by texture or depth.

Share this post


Link to post
Share on other sites
You can do that if you like, but the reason for D3DXSprite is to avoid having to go through all that effort. It performs very well, and for particle systems you generally should sort particles from back to front. It helps to avoid certain depth-buffer/alpha-blending problems that are common in particle systems.

Share this post


Link to post
Share on other sites
Hmm... Which problems are you referring to exactly? I just blend the particles in arbitary order with z-buffer test turned on and z-buffer writing turned off. It looks very well so far, I don't see any problems with this. Of course, I draw opaque geometry before I draw particle systems.

Share this post


Link to post
Share on other sites

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