From 9de1d6751a98557892e400854855225166575d4f Mon Sep 17 00:00:00 2001 From: Thorsten Renk Date: Wed, 17 Feb 2016 10:30:32 +0200 Subject: [PATCH] Bugfix for ALS airfield shader --- Shaders/airfield-ALS.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shaders/airfield-ALS.frag b/Shaders/airfield-ALS.frag index 75fc75c15..2a016aaaf 100644 --- a/Shaders/airfield-ALS.frag +++ b/Shaders/airfield-ALS.frag @@ -207,7 +207,7 @@ if ((dist < 3000.0)&& (quality_level > 3) && (wetness>0.0)) // color and shade variation of the grass -if (use_color_overlay) +if (use_color_overlay == 1) { float nfact_1m = 3.0 * (noise_1m - 0.5) * detail_fade(1.0, abs(ct),dist);//* (1.0 - smoothstep(3000.0, 6000.0, dist/ abs(ct))); float nfact_5m = 2.0 * (noise_5m - 0.5) * detail_fade(2.0, abs(ct),dist);;