Hello,
I tried to use PF_R32_UINT as render texture format and Ogre didn't map this value properly to D3D11's DXGI_FORMAT_R32_UINT - I see also a lot of other formats missing in D3D11Mappings::_getClosestSupportedPF and D3D11Mappings::_getPF - is it intentional or bug? Are there some problems with compatibility between different GPUs?
I am playing with pixel shaders to output primitive ID (uint) to texture directly.
D3D11 render texture formats
-
- Gnome
- Posts: 328
- Joined: Thu Apr 26, 2007 11:43 am
- Location: Slovakia / Switzerland
- x 16
-
- OGRE Team Member
- Posts: 2143
- Joined: Sun Mar 30, 2014 2:51 pm
- x 1153
Re: D3D11 render texture formats
this is a bug. Pixel format conversions in Ogre were messed up a lot. I am slowly working through it, but pull requests are very welcome here.