diff --git a/shaders/lib/ROBOBO_sky.glsl b/shaders/lib/ROBOBO_sky.glsl index 8a3c286..3ad747c 100644 --- a/shaders/lib/ROBOBO_sky.glsl +++ b/shaders/lib/ROBOBO_sky.glsl @@ -95,7 +95,7 @@ vec3 sky_transmittance(vec3 position, vec3 direction, const float steps) { vec3 calculateAtmosphere(vec3 background, vec3 viewVector, vec3 upVector, vec3 sunVector, vec3 moonVector, out vec2 pid, out vec3 transmittance, const int iSteps, float noise) { const int jSteps = 4; - float planetGround = exp(-100 * pow(max(-viewVector.y*5 +0.2,0.0),2)); // darken the ground in the sky. + float planetGround = exp(-100 * pow(max(-viewVector.y*5,0.0),2)); // darken the ground in the sky. float GroundDarkening = max(planetGround * 0.7+0.3,clamp(sunVector.y*2.0,0.0,1.0)); vec3 viewPos = (sky_planetRadius + eyeAltitude) * upVector; diff --git a/shaders/lib/volumetricClouds.glsl b/shaders/lib/volumetricClouds.glsl index 552ef84..d93731c 100644 --- a/shaders/lib/volumetricClouds.glsl +++ b/shaders/lib/volumetricClouds.glsl @@ -243,7 +243,7 @@ vec4 renderClouds( vec3 dV_view = normalize(viewPos.xyz); // this is the cloud curvature. - // dV_view.y += 0.05 * heightRelativeToClouds; + dV_view.y += 0.05 * heightRelativeToClouds; dV_view *= 300/abs(dV_view.y)/maxIT_clouds;