New answers tagged depth-buffer
The closest answer I can find is from the DXSDK article "Depth Buffers (Direct3D 9)"; relevant portion extracted (with some parts about the color buffer and w-buffers removed): At the beginning of the test, the depth value in the depth buffer is set to the largest possible value for the scene. Each polygon in the scene is tested to see if it intersects ...
Disclaimer: I've never used D3D9, only D3D10/11 and OpenGL. See D3DRENDERSTATETYPE enum values and D3DCMPFUNC. Specifically, look at D3DRS_ZFUNC and try setting it to D3DCMP_ALWAYS with D3DRS_ZENABLE set to true, similar to what the GL docs indicate do. See also Depth Buffering State (Direct3D 9)
Top 50 recent answers are included