• Advertisement
Sign in to follow this  

Directx 9 c++ Drawing 3d in front of 2d

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

Hi I have no idea how to draw 3d stuff in front of 2d sprites and textured squares. I tried putting the 2d stuff's z value further back but they don't draw. for example, I load a texture onto a 2d square and draw it over the whole screen. Then I try draw a mesh or something and it doesn't show up. How can I choose to draw 3d in front of 2D? thanks, r_bewick

Share this post


Link to post
Share on other sites
Advertisement
Try disabling z-writes while drawing the 2D stuff. If this is not an option you could always clear the z-buffer before you draw the 3D stuff.
I guess that could to the trick.

Share this post


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

  • Advertisement