Skip to content

Commit

Permalink
Remove debug line
Browse files Browse the repository at this point in the history
  • Loading branch information
ibesora committed Oct 29, 2024
1 parent ef5ad8f commit cc2aa6f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/shaders/terrain.fragment.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit cc2aa6f

Please sign in to comment.