Skip to content

Commit db60ae0

Browse files
author
RealBadAngel
committedApr 16, 2014
Fix invalid liquid lighting.
1 parent a2003b0 commit db60ae0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎client/shaders/liquids_shader/opengl_fragment.glsl

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,5 +91,5 @@ vec4 base = texture2D(baseTexture, uv).rgba;
9191
float d = max(0.0, min(vPosition.z / fogDistance * 1.5 - 0.6, 1.0));
9292
alpha = mix(alpha, 0.0, d);
9393
}
94-
gl_FragColor = vec4(color.rgb, alpha);
94+
gl_FragColor = vec4(col.rgb, alpha);
9595
}

0 commit comments

Comments
 (0)