aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxzcx <nuno360@gmail.com>2018-08-30 19:32:17 +0100
committerSmallJoker <SmallJoker@users.noreply.github.com>2018-08-30 20:32:17 +0200
commit1c4c0d46738708676e9b85cdd71d6433a05e5d0a (patch)
treeedc916796ff346670d2913b166a02d843072eb26
parent7e21cec55bba7e5507cc84c2a53895429b812aff (diff)
downloadminetest-1c4c0d46738708676e9b85cdd71d6433a05e5d0a.tar.gz
minetest-1c4c0d46738708676e9b85cdd71d6433a05e5d0a.tar.bz2
minetest-1c4c0d46738708676e9b85cdd71d6433a05e5d0a.zip
Shaders: Fix comment line (#7668)
Fixed comment as finalColorBlend() does not exist in the code base.
-rw-r--r--client/shaders/nodes_shader/opengl_vertex.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/shaders/nodes_shader/opengl_vertex.glsl b/client/shaders/nodes_shader/opengl_vertex.glsl
index 3ac79c26d..54b569c5e 100644
--- a/client/shaders/nodes_shader/opengl_vertex.glsl
+++ b/client/shaders/nodes_shader/opengl_vertex.glsl
@@ -135,7 +135,7 @@ float disp_z;
color.a = 1;
// Emphase blue a bit in darker places
- // See C++ implementation in mapblock_mesh.cpp finalColorBlend()
+ // See C++ implementation in mapblock_mesh.cpp final_color_blend()
float brightness = (color.r + color.g + color.b) / 3;
color.b += max(0.0, 0.021 - abs(0.2 * brightness - 0.021) +
0.07 * brightness);