unbreak cloud fog

This commit is contained in:
Xonk
2023-06-16 00:33:50 -04:00
parent 72c77f55a1
commit 61adeb5e81
3 changed files with 11 additions and 8 deletions

View File

@ -142,7 +142,7 @@ vec3 calculateAtmosphere(vec3 background, vec3 viewVector, vec3 upVector, vec3 s
transmittance *= stepTransmittance ;
}
vec3 scattering = scatteringSun * sunColorBase + (scatteringAmbient) * background + scatteringMoon*moonColorBase ;
// scattering = vec3(0,high_sun*255.,0);
return scattering;