mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-26 09:21:30 +11:00
whoops, missed some floats
This commit is contained in:
parent
5ca4d88071
commit
96cc964d89
|
@ -34,7 +34,7 @@ vec3 DecodeGamma(vec3 color, float gamma)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef GAMMA_CORRECTION
|
#ifdef GAMMA_CORRECTION
|
||||||
float4 GammaPass(float4 color, vec2 texcoord)
|
vec4 GammaPass(vec4 color, vec2 texcoord)
|
||||||
{
|
{
|
||||||
const float GammaConst = 2.233333;
|
const float GammaConst = 2.233333;
|
||||||
color.rgb = EncodeGamma(color.rgb, GammaConst);
|
color.rgb = EncodeGamma(color.rgb, GammaConst);
|
||||||
|
|
Loading…
Reference in a new issue