Quantcast
Channel: GameDev.net
Viewing all articles
Browse latest Browse all 16874

Direct3D 11 Depth Testing

$
0
0

So, I'm wondering how you enable depth testing in Direct3D 11?

Basically “glEnable(GL_DEPTH_TEST)” for Direct3D 11. I've been messing about with depth buffers for an hour now and I can't figure it out. What I'm trying to achieve is preventing say, the back vertices of a cube rendering on top of the front vertices.


Viewing all articles
Browse latest Browse all 16874

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>