- fix HDR shader

This commit is contained in:
Rachael Alexanderson 2020-10-27 09:58:38 -04:00
parent 0562dfb554
commit 9afffba515

View file

@ -31,7 +31,7 @@ vec4 Dither(vec4 c)
vec4 sRGBtoLinear(vec4 c)
{
return vec4(mix(pow((c.rgb + 0.055) / 1.055, vec3(2.4)), c.rgb / 12.92, step(c.rgb, vec3(0.04045))), c.a);
return vec4(c.rgb / 12.92, mix(pow((c.rgb + 0.055) / 1.055, vec3(2.4)), step(c.rgb, vec3(0.04045))), c.a);
}
vec4 ApplyHdrMode(vec4 c)