Is a 32-bit Depth Buffer supported?
We require the ability to zoom in on distant objects using an extremely small FOV. With the standard 24-bit depth buffer (8-bit stencil) we get a lot of Z-fighting. However, building the engine with the define “DEPTH_32_BIT_CONVERSION=1” gives us enough extra precision to greatly reduce flickering in the scene. Note: we intend to run only on high end Windows machines with latest graphics hardware.
Is it safe to use this option and what are the ramifications in doing so?
asked Feb 04 '16 at 05:15 PM in Rendering
It looks like the engine will use a 64 bit depth-stencil format which has 32bit depth and 8 bit stencil if that is supported on your device as DXGI_FORMAT_D32_FLOAT_S8X24_UINT. This is a DX11 feature. In that case your memory for your depth buffer doubles but you have the same functionality. Everything else would be the same. You would lose stencil support on older cards that don’t support this feature.
Edit: It appears that stencil is not directly accessed by the user. You would have to write your own code to use stencil so it looks like you would not lose any user accessible functionality.
Follow this question
Once you sign in you will be able to subscribe for any updates here