[v4] UIEffect Add only works on Gamma Color Space
GuillemDomenech opened this issue · 2 comments
GuillemDomenech commented
I'm trying to achieve this effect using the Add option, white color and 0.145 Color Factor:
But it only works on Gamma Color Space, here's how it looks in Linear:
For reference, here's the image without any effect applied:
How could I achieve the effect in the first image but with a Linear color space?
GuillemDomenech commented
@mob-sakai Do you know how I could solve this issue? I've tried adding this "color.a = pow(color.a, 2.2);" before returning the color in your "UIEffect.shader" but if I do the base color without the effect doesn't look good, it doesn't look as if I was in the gamma color space.