MRT support
Hello!
I am working on my 3D engine and some time ago I implemented Deferred Rendering. I am using 4 surfaces with different formats:
- D3DFMT_A16B16G16R16F (HDR color) - 8 bytes/pixel
- D3DFMT_A8R8G8B8 (normal, specular) - 4 bytes/pixel
- D3DFMT_R32F (depth) - 4 bytes/pixel
My question is - how to detect if a device supports multiple render targets with different bit-depth?
Regards,
Tomasz
Check the D3DCaps, the D3DPMISCCAPS_MRTINDEPENDENTBITDEPTHS flag in the MiscCaps.
Which card do you use? Upto now I didn't know of *any* card supporting independent bit depths for MRTs.
Which card do you use? Upto now I didn't know of *any* card supporting independent bit depths for MRTs.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement