mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 14:51:46 +00:00
- fix HDR shader, again
This commit is contained in:
parent
6770def806
commit
2312fb0322
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ vec4 Dither(vec4 c)
|
|||
|
||||
vec4 sRGBtoLinear(vec4 c)
|
||||
{
|
||||
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);
|
||||
return vec4(mix(c.rgb / 12.92, 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