Jump to content
  • Advertisement
Sign in to follow this  
Shanee

Can I use Z Buffer for sprites?

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

I want to draw text, I know I can do it as a billboard, but for now I am simply using D3DXProjectVector3 to get where to draw the 2D text according to the world position of an entity. Problem is, no occluding or z-testing.

Is there a way to enable Z-test for the 2D text or 2D sprites against already rendered 3D objects? Or only billboard?

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!