Skip to content

Commit

Permalink
Fix invalid liquid lighting.
Browse files Browse the repository at this point in the history
  • Loading branch information
RealBadAngel committed Apr 16, 2014
1 parent a2003b0 commit db60ae0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/shaders/liquids_shader/opengl_fragment.glsl
Expand Up @@ -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 comments on commit db60ae0

Please sign in to comment.