consistent-shading icon indicating copy to clipboard operation
consistent-shading copied to clipboard

Heavy loss of precision when applying generate with the same input color as the base color.

Open agarleanu opened this issue 5 years ago • 1 comments

This is surely reflected across the board with every colour. While it may look correct, the results are still a bit off. It may either have to do with format conversion precision or with the algorithm itself. Some detail might be committed.

For now, at least for the alpha part, gamma correction needs to be implemented. This might be useful for the solid colour part as well.

Gamma correction Alpha compositing

agarleanu avatar Feb 01 '21 11:02 agarleanu

This article might be useful.

agarleanu avatar Feb 01 '21 11:02 agarleanu