whoops, missed some floats

This commit is contained in:
hizzlekizzle 2016-10-31 12:04:43 -05:00 committed by GitHub
parent 5ca4d88071
commit 96cc964d89

View file

@ -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);