How can I view an R32G32B32 texture?
- by bobobobo
I have a texture with R32G32B32 floats. I create this texture in-program on D3D11, using DXGI_FORMAT_R32G32B32_FLOAT. Now I need to see the texture data for debug purposes, but it will not save to anything but dds, showing the error in debug output, "Can't find matching WIC format, please save this file to a DDS".
So, I write it to DDS but I can't open it now! The DirectX texture tool says "An error occurred trying to open that file".
I know the texture is working because I can read it in the GPU and the colors seem correct.
How can I view an R32G32B32 texture in an image viewer?