Skip to content

Commit

Permalink
Update opengl_fragment.glsl
Browse files Browse the repository at this point in the history
  • Loading branch information
GefullteTaubenbrust2 committed Jan 10, 2025
1 parent ed36ca9 commit 7fdad36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/shaders/nodes_shader/opengl_fragment.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ void main(void)
col.rgb += reflection_color * pow(fresnel_factor, 2.0) * 0.5 * brightness_factor;

vec3 water_reflect_color =
2.0 * specular_intensity * sunTint * dayLight * fresnel_factor * max(1.0 - shadow_uncorrected, 0.0) *
1.5 * specular_intensity * sunTint * dayLight * fresnel_factor * max(1.0 - shadow_uncorrected, 0.0) *
mtsmoothstep(0.85, 0.9, pow(clamp(dot(reflect_ray, viewVec), 0.0, 1.0), 32.0));

// Sun reflection
Expand Down

0 comments on commit 7fdad36

Please sign in to comment.