We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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