mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 04:01:31 +00:00
- fix HDR shader
This commit is contained in:
parent
0562dfb554
commit
9afffba515
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue