Advertisement

Direct3D11 Exclude object from depth testing

Started by September 18, 2021 01:14 PM
1 comment, last by MJP 3 years, 2 months ago

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

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