How to disable Depth Buffering in DX 10?

Started by
1 comment, last by cloudjy 16 years, 8 months ago
Hi I know in DX9, we disable Depth Buffering using: SetRenderState( D3DRS_ZENABLE, D3DZB_FALSE ); How should we achieve the same effect in DX10? Thank you ahead! --John
Advertisement
Create a ID3D10DepthStencilState object with your settings (i.e., depth disabled). Then call ID3D10Device::OMSetDepthStencilState.
-----Quat
Thank you. Will try.

--John

This topic is closed to new replies.

Advertisement