Fix invalid liquid lighting.

master
RealBadAngel 2014-04-16 16:56:54 +02:00
parent 04ed23833e
commit 24ae76ed5c
1 changed files with 1 additions and 1 deletions

View File

@ -91,5 +91,5 @@ vec4 base = texture2D(baseTexture, uv).rgba;
float d = max(0.0, min(vPosition.z / fogDistance * 1.5 - 0.6, 1.0));
alpha = mix(alpha, 0.0, d);
}
gl_FragColor = vec4(color.rgb, alpha);
gl_FragColor = vec4(col.rgb, alpha);
}