Skip to main content
GameDev.net gamedev.net
🔒 Locked

Direct3D11 Exclude object from depth testing

Started by bogdan7 Sep 18, 2021 at 1:14 PM 1 replies 5k views
Original Post
bogdan7
bogdan7

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

MJP
MJP

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

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.