Skip to content
Snippets Groups Projects
Commit db60ae04 authored by RealBadAngel's avatar RealBadAngel
Browse files

Fix invalid liquid lighting.

parent a2003b0d
No related branches found
No related tags found
No related merge requests found
......@@ -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);
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment