Skip to content

Commit

Permalink
dont do bottom and vertical like this
Browse files Browse the repository at this point in the history
  • Loading branch information
Desour committed Nov 4, 2024
1 parent 5cd5020 commit 0bc5e40
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions client/shaders/nodes_shader/opengl_vertex.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,6 @@ void main(void)
float nodecorner_height = fract(pos.y * (1.0 / BS) + 0.5);
if (nodecorner_height < 0.001)
nodecorner_height = 1.0;
if ((abs(inVertexNormal.y) < 0.001 && varTexCoord.y > 0.95)
|| abs(inVertexNormal.x) + abs(inVertexNormal.y) + abs(inVertexNormal.z) < 0.001)
nodecorner_height = 0.0;
pos.y += (snoise(wavePos) - 1.0) * WATER_WAVE_HEIGHT * 5.0 * nodecorner_height;
#elif MATERIAL_TYPE == TILE_MATERIAL_WAVING_LEAVES && ENABLE_WAVING_LEAVES
pos.x += disp_x;
Expand Down

0 comments on commit 0bc5e40

Please sign in to comment.