microsoft / DirectXTex

DirectXTex texture processing library
https://walbourn.github.io/directxtex/
MIT License
1.82k stars 447 forks source link

Compression artifacts for BC7_UNORM when compressing on CPU (GPU is fine) #488

Open robindegen opened 3 months ago

robindegen commented 3 months ago

I was having issues with the library and thought it was because of my own code; but i noticed that the texconv tool shows the exact same problem.

texconv.exe -y BC7_UNORM texture.png

gives a different output than texconv.exe -y BC7_UNORM -nogpu texture.png

Notice the artifacts in the CPU version: image

This is with the GPU: image

walbourn commented 3 months ago

Can you attach the source file MapBattleTilesetSystem.png?

robindegen commented 3 months ago

MapBattleTilesetSystem

I don't know if github re-encodes these files. If it does I also put it on a dropbox: https://www.dropbox.com/scl/fi/kgqgesjdfl5nz4i4bvmxb/MapBattleTilesetSystem.png?rlkey=085vvzq18gcunfyes6t4yku8m&dl=0