diff --git a/Shaders/model-ALS-ultra.frag b/Shaders/model-ALS-ultra.frag index 286e7acb2..cbae4c113 100644 --- a/Shaders/model-ALS-ultra.frag +++ b/Shaders/model-ALS-ultra.frag @@ -639,7 +639,7 @@ void main (void) /// END fog color fragColor = clamp(fragColor, 0.0, 1.0); - hazeColor = clamp(hazeColor, 0.0, 1.0); + //hazeColor = clamp(hazeColor, 0.0, 1.0); ///BEGIN Rayleigh fog /// diff --git a/Shaders/tree-ALS-shadow.frag b/Shaders/tree-ALS-shadow.frag index 67a897408..2e5f418bd 100644 --- a/Shaders/tree-ALS-shadow.frag +++ b/Shaders/tree-ALS-shadow.frag @@ -377,7 +377,7 @@ hazeColor = intensity * normalize(mix(hazeColor, shadedFogColor, (1.0-smoothste // determine the right mix of transmission and haze -hazeColor = clamp(hazeColor,0.0,1.0); +//hazeColor = clamp(hazeColor,0.0,1.0); fragColor.rgb = mix(eqColorFactor * hazeColor * eShade + secondary_light * fog_backscatter(avisibility), fragColor.rgb,transmission); } diff --git a/Shaders/tree-ALS.frag b/Shaders/tree-ALS.frag index d47d14473..2b5293c16 100644 --- a/Shaders/tree-ALS.frag +++ b/Shaders/tree-ALS.frag @@ -357,7 +357,7 @@ hazeColor.rgb = max(hazeColor.rgb, minLight.rgb); // determine the right mix of transmission and haze -hazeColor = clamp(hazeColor,0.0,1.0); +//hazeColor = clamp(hazeColor,0.0,1.0); fragColor.rgb = mix( hazeColor + secondary_light * fog_backscatter(mvisibility), fragColor.rgb,transmission); }