Fix splatting

This commit is contained in:
Vincent Lejeune 2014-10-05 22:46:02 +02:00
parent 4bb73e0573
commit 44792a1490

View File

@ -46,5 +46,5 @@ void main() {
splatting.b * detail2 + splatting.b * detail2 +
max(0., (1.0 - splatting.r - splatting.g - splatting.b)) * detail3; max(0., (1.0 - splatting.r - splatting.g - splatting.b)) * detail3;
FragColor = vec4(getLightFactor(splatted.xyz, vec3(1.), 1.), 1.); FragColor = vec4(getLightFactor(splatted.xyz, vec3(1.), 0.), 1.);
} }