Hello.
I'm using the latest version of astcenc.exe from https://github.com/ARM-software/astc-encoder and have problems with several textures.
For example:
astcenc.exe -c "Build_Foam.tga" "Build_Foam.astc" 8x8 -fast
astcenc.exe -d "Build_Foam.astc" "Build_Foam.astc.tga"
https://www.dropbox.com/s/vbgouzlqrf799g8/Build_Foam.tga?dl=0
https://www.dropbox.com/s/r11hzq3op7igj7f/Build_Foam.astc.tga?dl=0
But if I specify -hdra flag then the astc textures are ok. What I'm doing wrong?
Thanks! It seems the issue was with greyscale textures. Is it possible to disable this feature and force astcenc to encode greyscale textures always with 4 channels?
The decompressed data for an ASTC file on the target device should always return 4 channels - but for Luminance + Alpha end points the RGB values will be identical (see section 3.8 in the ASTC specification in the GitHub repo).
I'm not aware of any command line option to disable endpoints (although the HDR end points won't be used unless you enable an HDR mode).