MRT support

Started by
1 comment, last by Volgut 14 years, 10 months ago
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
Advertisement
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.
----------
Gonna try that "Indie" stuff I keep hearing about. Let's start with Splatter.
Thank you. I will test that.

I am using GeForce 9800GX2, but I also tested my engine on 8800GTX.

Regards,
Tomasz

This topic is closed to new replies.

Advertisement