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

2D sprite z-buffering

This topic is 5884 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''m drawing 2D sprites using an orthographic projection matrix in dx8, but I can''t get the z-buffering to work. I''ve enabled z-buffering, but whatever z values I give sprites, the more recently created sprites appear on top of ones created before them. Is there something I''ve missed or doesn''t the z value work with an orthographic projection? thanks

Share this post

Link to post
Share on other sites