Skip to content

Commit 1c4c0d4

Browse files
crazyBaboonSmallJoker
authored andcommittedAug 30, 2018
Shaders: Fix comment line (#7668)
Fixed comment as finalColorBlend() does not exist in the code base.
1 parent 7e21cec commit 1c4c0d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

Diff for: ‎client/shaders/nodes_shader/opengl_vertex.glsl

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ float disp_z;
135135
color.a = 1;
136136

137137
// Emphase blue a bit in darker places
138-
// See C++ implementation in mapblock_mesh.cpp finalColorBlend()
138+
// See C++ implementation in mapblock_mesh.cpp final_color_blend()
139139
float brightness = (color.r + color.g + color.b) / 3;
140140
color.b += max(0.0, 0.021 - abs(0.2 * brightness - 0.021) +
141141
0.07 * brightness);

0 commit comments

Comments
 (0)