Archived

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

Paul77

Particle Sprites and Transparency

Recommended Posts

Is it possible to create tranparent sprites within a scene without the need for depth sorting evrything? At the moment am drawing the sprites last with the depth buffer disabled and using blending functions but this doesnt work! anyone have any suggestions? cheers

Share this post


Link to post
Share on other sites
You want to draw your sprites with depth testing?
you got the man ! Unsing blending?

EnableBlend..

glDepthMask(GL_FALSE);

DrawYourParticule...

glDepthMask(GL_TRUE);

DisableBlend...

Share this post


Link to post
Share on other sites