mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-26 01:11:32 +11:00
Merge branch 'master' of https://github.com/libretro/slang-shaders
This commit is contained in:
commit
eb240077ab
|
@ -34,7 +34,7 @@ vec3 DecodeGamma(vec3 color, float gamma)
|
|||
}
|
||||
|
||||
#ifdef GAMMA_CORRECTION
|
||||
float4 GammaPass(float4 color, vec2 texcoord)
|
||||
vec4 GammaPass(vec4 color, vec2 texcoord)
|
||||
{
|
||||
const float GammaConst = 2.233333;
|
||||
color.rgb = EncodeGamma(color.rgb, GammaConst);
|
||||
|
|
Loading…
Reference in a new issue