Open
Description
An image with a block of fully transparent white texels is getting compressed to white texels with an alpha value of 1 instead of 0.
To reproduce:
- Take a 4x4 image where each uncompressed texel is (255,255,255,0)
- (I have attempted to attach such an image, but it's not clear to me whether the attachment process worked)
- Enter the following command in texconv:
- texconv.exe -f BC7_UNORM -nogpu transparentWhite.png
- Observe that the resulting compressed texels are (255,255,255,1), and no longer fully transparent
Note that if GPU compression is used the compressed values are the expected (255,255,255,0), and so the undesired alpha value only happens with non-GPU compression.