Archived

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

LukeSkyRunner

Alpha+Zbuffer = >:|

Recommended Posts

LukeSkyRunner    136
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
billybob    134
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