Sign in to follow this  
JohnnyCode

zwrite disable and sprites

Recommended Posts

JohnnyCode    1046
hello, I am quite not understanding the technique to draw sprites close to some surface without z fiting. Turn off z writing for the sprite and render sprite last? But z test is on and if rendered sprite is close to a surface I get fights. I need to have the depth test enabled during sprites drawing for sprites can be occluded. But how then will sprite not fight close surfaces?

Share this post


Link to post
Share on other sites

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