• Advertisement
Sign in to follow this  

Can I use Z Buffer for sprites?

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