This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Bad astc textures with astc-encoder

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?

Parents
  • Can you explain what the problem actually is?

    At least visually the textures look OK to me. You are using a low bit rate (2bpp) and fast compression (so the search for best compression quality is less exhaustive). If you use "-thorough" instead of "-fast", or a smaller block size (6x6 for 3.56bpp) to increase bitrate, does your issue go away?

    If you look at the "-help" message from the tool you'll see that setting "-hdra" sets a large number of options for the error parameter tuning, in addition to allowing HDR end points. IN particular note that "-dblimit" is set to 999, which is much higher than the default used by a "-fast" search.

    Cheers, 
    Pete

Reply
  • Can you explain what the problem actually is?

    At least visually the textures look OK to me. You are using a low bit rate (2bpp) and fast compression (so the search for best compression quality is less exhaustive). If you use "-thorough" instead of "-fast", or a smaller block size (6x6 for 3.56bpp) to increase bitrate, does your issue go away?

    If you look at the "-help" message from the tool you'll see that setting "-hdra" sets a large number of options for the error parameter tuning, in addition to allowing HDR end points. IN particular note that "-dblimit" is set to 999, which is much higher than the default used by a "-fast" search.

    Cheers, 
    Pete

Children