🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Direct3D11 Exclude object from depth testing

Started by
1 comment, last by MJP 2 years, 9 months ago

I want to tell the renderer. Even if this object is in front of this other object draw the behind one.

Advertisement

Create a depth-stencil state with DepthEnable set to false, set it on the context, and then draw your object.

This topic is closed to new replies.

Advertisement