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

ASTC encoder options for single channel (luminance) textures

Hi,

what would be the best/correct way to encode a single-channel luminance texture with the astc-encoder ? Since encoding time is important I would like to give this "hint" to the encoder instead of searching color endpoint modes (single plane, two-color mode ?).

Thanks.

  • Hi Steve_,

    The astcenc command-line tool doesn't support an option to specify the number of channels of the input texture. KTX and DDS formats support the definition of single-channel luminance texture and the astcenc tool can use them so maybe using these formats can speed up the conversions.

    For the compression quality I suggest you try to use the "-mask" option which makes all the channels of the input texture be unrelated to each other. In this way you should be able to combine multiple unrelated textures into a single one and compress them together. This will also improve performance since you will read just one texture instead of multiple ones.

    Regards,

    Daniele