Hi all!
I was seeing some color inconsistencies when switching from gamme to linear color space.
So I came to the forum and saw there was some posts about how there's a fix using:
if (QualitySettings.activeColorSpace == ColorSpace.Linear)
{
col.r = Mathf.GammaToLinearSpace(col.r);
col.g = Mathf.GammaToLinearSpace(col.g);
col.b = Mathf.GammaToLinearSpace(col.b);
col.a = Mathf.GammaToLinearSpace(col.a);
}
I've added this in a dirty hack to the ApplyShadow on the UILabel and it now seems to display those colors correctly as well.
@ArenMook: can you check if there are more places where the conversion needs to be implemented? Or is there some other fix that I'm not aware off?
Thanks in advance for your attention.
Diederik / Xform