Skip to content

Fix colorspace GLSL shader

The colorspace.frag utility shader has some broken implementations of the color space conversions. The exact problem is not yet determined, however RGB->XYZ->Lab->XYZ->RGB is no perferct roundtrip if you change for instance the a-component in Lab space.

This needs to be evaluated in detail - perhaps we need additional gamma adjustment - I saw that in some demo code snippets.