Skip to content
Permalink
Browse files

Fix invalid liquid lighting.

  • Loading branch information
RealBadAngel committed Apr 16, 2014
1 parent a2003b0 commit db60ae0459a7711bdaca2dff94c2e87e8e97796d
Showing with 1 addition and 1 deletion.
  1. +1 −1 client/shaders/liquids_shader/opengl_fragment.glsl
@@ -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.