Shaders: Fix comment line (#7668)
authorxzcx <nuno360@gmail.com>
Thu, 30 Aug 2018 18:32:17 +0000 (19:32 +0100)
committerSmallJoker <SmallJoker@users.noreply.github.com>
Thu, 30 Aug 2018 18:32:17 +0000 (20:32 +0200)
Fixed comment as finalColorBlend() does not exist in the code base.

client/shaders/nodes_shader/opengl_vertex.glsl

index 3ac79c26db8c2898762747ed6535686ee771f5c2..54b569c5eef29793238c0a1e19b357e66ac3df39 100644 (file)
@@ -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);