diff options
author | RealBadAngel <maciej.kasatkin@yahoo.com> | 2014-04-16 16:56:54 +0200 |
---|---|---|
committer | RealBadAngel <maciej.kasatkin@yahoo.com> | 2014-04-16 16:56:54 +0200 |
commit | db60ae0459a7711bdaca2dff94c2e87e8e97796d (patch) | |
tree | c4d0ffd2ed4726c316f6bf4b28a8548d0f7f5b56 /client/shaders/liquids_shader | |
parent | a2003b0d553c7223a61c75e5dad79ea68e058ba2 (diff) | |
download | minetest-db60ae0459a7711bdaca2dff94c2e87e8e97796d.tar.gz minetest-db60ae0459a7711bdaca2dff94c2e87e8e97796d.tar.bz2 minetest-db60ae0459a7711bdaca2dff94c2e87e8e97796d.zip |
Fix invalid liquid lighting.
Diffstat (limited to 'client/shaders/liquids_shader')
-rw-r--r-- | client/shaders/liquids_shader/opengl_fragment.glsl | 2 |
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); } |