How can I view an R32G32B32 texture?
Posted
by
bobobobo
on Game Development
See other posts from Game Development
or by bobobobo
Published on 2012-06-21T23:27:11Z
Indexed on
2012/06/22
3:25 UTC
Read the original article
Hit count: 348
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?
© Game Development or respective owner