From cc2aa6f8afd9185ba1dd6a447a2cc0337f50c535 Mon Sep 17 00:00:00 2001 From: Isaac Besora Date: Tue, 29 Oct 2024 12:42:31 +0100 Subject: [PATCH] Remove debug line --- src/shaders/terrain.fragment.glsl | 1 - 1 file changed, 1 deletion(-) diff --git a/src/shaders/terrain.fragment.glsl b/src/shaders/terrain.fragment.glsl index e76ed95439..df755bf3e1 100644 --- a/src/shaders/terrain.fragment.glsl +++ b/src/shaders/terrain.fragment.glsl @@ -28,7 +28,6 @@ void main() { vec4 fog_horizon_color_linear = mix(gammaToLinear(u_fog_color), gammaToLinear(u_horizon_color), blend_color); float factor_fog = max(clamped_fog_depth - u_fog_ground_blend, 0.0) / (1.0 - u_fog_ground_blend); gl_FragColor = linearToGamma(mix(surface_color_linear, fog_horizon_color_linear, pow(factor_fog, 2.0) * u_fog_ground_blend_opacity)); - gl_FragColor = vec4(surface_color); } else { gl_FragColor = surface_color; }