astc-encoder icon indicating copy to clipboard operation
astc-encoder copied to clipboard

Investigating using YCbCr color space for perceptual errors

Open solidpixel opened this issue 3 years ago • 1 comments

We currently have a very basic perceptual heuristic based on static channel weighting. It's not gamma corrected for linear textures either.

The bc7enc compressor evaluates errors in YCbCr color space which gives higher quality perceptual results, at the expense of a higher compression cost. Review and see if it's worth the added overhead.

solidpixel avatar Aug 10 '22 08:08 solidpixel

IIRC Rich also mentioned somewhere that he played around with OkLab colorspace too (which was invented after bc7enc happened), and that the results were better (for some definition of better). But OkLab is more costly to evaluate than YCbCr, without finding some ways of speeding that up.

aras-p avatar Aug 23 '22 12:08 aras-p