mirror of
https://github.com/libretro/slang-shaders.git
synced 2024-11-23 16:30:05 +00: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 New Issue
Block a user