1
0
Fork 0

ubershader: reenable ambient-correction under Rembrandt

Signed-off-by: Emilian Huminiuc <emilianh@gmail.com>
This commit is contained in:
Emilian Huminiuc 2012-08-19 23:35:25 +03:00
parent 5609a7b66a
commit 7d883b3db1

View file

@ -154,8 +154,8 @@ void main (void)
ambient_Correction = clamp(ambient_Correction, -1.0, 1.0); ambient_Correction = clamp(ambient_Correction, -1.0, 1.0);
color.a = texel.a * alpha; color.a = texel.a * alpha;
//vec4 fragColor = vec4(color.rgb * mixedcolor.rgb + ambient_Correction.rgb, color.a); vec4 fragColor = vec4(color.rgb * mixedcolor.rgb + ambient_Correction.rgb, color.a);
vec4 fragColor = vec4(color.rgb * mixedcolor, color.a); //vec4 fragColor = vec4(color.rgb * mixedcolor, color.a);
////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////
// BEGIN lightmap // BEGIN lightmap