Is the way the 5.6.5. colors expanded into 8 bits or normalised floats documented/standardized anywhere. Specifically for DX9 and DX11.
So this could be done a few different ways. For Red and Blue the binary values can be divided by 31.0f to give a color in the range 0.0 to 1.0.
Alternatively the color could be expanded into 8 bits and then divided by 255. A common way of expanding bits to large word sizes is to replicate high order bits to the low order bits. So to expand 5 bits in the work ABCDE to 8 bits is ABCDEABC. Is this what occurs for DXTn?
AliasBinmanMember Since 07 Oct 2007
Offline Last Active Oct 16 2014 10:10 AM
- Group Members
- Active Posts 30
- Profile Views 1,503
- Submitted Links 0
- Member Title Member
- Age Age Unknown
- Birthday Birthday Unknown
AliasBinman hasn't added any contacts yet.