Having my first real issue with @GPUOpen's Compressonator. I am passing it a single channel image (R8_Unorm) to convert to BC4, and it keeps coming out black.
Stepped through and it's trying to swizzle the B channel (hint, there is none) into the output image.
The R8 codec, when it attempts to swizzle, realizes it doesn't have a B channel and just sets the whole block to 0. I had to step through their code to find this is happening. For BC4 compression does it expect a full 3 channel image?
-
-
The one redeeming thing here is that there is already an issue reported on their github. https://github.com/GPUOpen-Tools/compressonator/issues/101 … Time to find out if it's been resolved or not.
Näytä tämä ketju -
Looks like they haven't fixed it yet. I'm unsure what the "correct" fix in their codebase would be, but adding my format (R8) to their "do not swizzle" switch case made it work. The lesson here? Always have source code, friends.
Näytä tämä ketju
Keskustelun loppu
Uusi keskustelu -
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.