Archived

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

Alpha+Zbuffer = >:|

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

How can I fix the problem that happen when a face with alpha are drawn later another alpha polygon located in front of it, without turning off the zbuffer? Like this: http://www.unidev.com.br/imagem/image-sg-prob.jpg How can I fix it? (if it cannot be fixed, what is the better/faster way? z-sorting?). Note: I''m with DirectX9.

Share this post


Link to post
Share on other sites
draw everything that is non transparent, with full z buffer testing and writing. then draw everything with alpha after, with only z testing. this doesn''t fix all of the alpha/depth problems, but some.

Share this post


Link to post
Share on other sites