aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorRealBadAngel <maciej.kasatkin@yahoo.com>2014-04-16 16:56:54 +0200
committerRealBadAngel <maciej.kasatkin@yahoo.com>2014-04-16 16:56:54 +0200
commitdb60ae0459a7711bdaca2dff94c2e87e8e97796d (patch)
treec4d0ffd2ed4726c316f6bf4b28a8548d0f7f5b56 /client
parenta2003b0d553c7223a61c75e5dad79ea68e058ba2 (diff)
downloadminetest-db60ae0459a7711bdaca2dff94c2e87e8e97796d.tar.gz
minetest-db60ae0459a7711bdaca2dff94c2e87e8e97796d.tar.bz2
minetest-db60ae0459a7711bdaca2dff94c2e87e8e97796d.zip
Fix invalid liquid lighting.
Diffstat (limited to 'client')
-rw-r--r--client/shaders/liquids_shader/opengl_fragment.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/shaders/liquids_shader/opengl_fragment.glsl b/client/shaders/liquids_shader/opengl_fragment.glsl
index e4082259a..5bc932ada 100644
--- a/client/shaders/liquids_shader/opengl_fragment.glsl
+++ b/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);
}