From 23cc904cf3a7edb8b7d29aedf1d5fc9fe457503d Mon Sep 17 00:00:00 2001 From: Quentin Bazin Date: Fri, 6 Jul 2018 17:47:31 +0200 Subject: [PATCH] [fog.f.glsl] Small fix. Now using sky color instead of a transparent color. --- resources/shaders/fog.f.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/shaders/fog.f.glsl b/resources/shaders/fog.f.glsl index 5b74fe75..f19509fa 100644 --- a/resources/shaders/fog.f.glsl +++ b/resources/shaders/fog.f.glsl @@ -3,6 +3,6 @@ vec4 fog(vec4 color, float fogCoord, float fogStart, float fogEnd) { float fog = clamp((fogEnd - fogCoord) / (fogEnd - fogStart), 0.0, 1.0); - return mix(vec4(color.xyz, 0.0), color, fog); + return mix(vec4(0.196078, 0.6, 0.8, 1.0), color, fog); }