KhronosGroup / KTX-Software

KTX (Khronos Texture) Library and Tools
Other
859 stars 223 forks source link

Add more quality metrics #318

Open lexaknyazev opened 3 years ago

lexaknyazev commented 3 years ago

While this issue affects mostly Basis Universal encoder, it may be reasonable to discuss KTX frontend here first.

Usually, Basis Universal encoder aims to minimize MSE and/or PSNR for the RGB or RGBA data. This may also include non-linear transfer function and luma values computed from a weighted RGB(A) sum.

While this is fine for color data, some other types of texture maps may benefit from different approaches. Two new modes come to mind:

MarkCallow commented 3 years ago

I think you'd be better off filing this at Binomial's basis_universal repo.

MarkCallow commented 3 years ago

There is an open request in the basis_universal repo to optimize for angular difference for normal maps.