Skip to content

Commit

Permalink
- fix HDR shader
Browse files Browse the repository at this point in the history
  • Loading branch information
madame-rachelle committed Oct 27, 2020
1 parent 0562dfb commit 9afffba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wadsrc/static/shaders/pp/present.fp
Expand Up @@ -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)
Expand Down

0 comments on commit 9afffba

Please sign in to comment.