From 86f6c2f08c733a824bb682a345f49fd05565ec83 Mon Sep 17 00:00:00 2001 From: McbeEringi <46889548+McbeEringi@users.noreply.github.com> Date: Wed, 25 Nov 2020 12:01:14 +0900 Subject: [PATCH] - --- ESBE_2G/shaders/hlsl/terrain.fsh.hlsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ESBE_2G/shaders/hlsl/terrain.fsh.hlsl b/ESBE_2G/shaders/hlsl/terrain.fsh.hlsl index b32930c..bae092a 100755 --- a/ESBE_2G/shaders/hlsl/terrain.fsh.hlsl +++ b/ESBE_2G/shaders/hlsl/terrain.fsh.hlsl @@ -124,7 +124,7 @@ daylight.x *= weather; float sunlight = smoothstep(0.865,0.875,PSInput.uv1.y); float indoor = smoothstep(1.0,0.5,PSInput.uv1.y); float dusk = min(smoothstep(0.4,0.55,daylight.y),smoothstep(0.8,0.65,daylight.y)); -float uw = step(FOG_COLOR.a,0.); +float uw = step(FOG_CONTROL.x,0.); float nether = FOG_CONTROL.x/FOG_CONTROL.y;nether=step(.1,nether)-step(.12,nether); //ESBE_tonemap see http://filmicworlds.com/blog/filmic-tonemapping-operators/