From 8349f8594eacfa893cc3bcb4d95cc0e9c1d20d77 Mon Sep 17 00:00:00 2001 From: Faerbit Date: Tue, 10 Mar 2015 08:13:45 +0100 Subject: [PATCH] Made fog stay red longer. --- data/shader/phong.fsh | 2 +- data/shader/skydome.fsh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/data/shader/phong.fsh b/data/shader/phong.fsh index d1bcfd5..e4415ae 100644 --- a/data/shader/phong.fsh +++ b/data/shader/phong.fsh @@ -96,7 +96,7 @@ vec4 fogColor(float dot) { dayFactor = 1.0; } else { - dayFactor = sin(1.5*dot); + dayFactor = sin(dot); } if (dot <0.0) { return mix(fogColorNight, fogColorRise, riseFactor); diff --git a/data/shader/skydome.fsh b/data/shader/skydome.fsh index 45f2e81..7883e67 100644 --- a/data/shader/skydome.fsh +++ b/data/shader/skydome.fsh @@ -39,7 +39,7 @@ vec4 fogColor(float dot) { dayFactor = 1.0; } else { - dayFactor = sin(1.5*dot); + dayFactor = sin(dot); } if (dot <0.0) { return mix(fogColorNight, fogColorRise, riseFactor);