fix tiny oopsie doopsie where the moon occluded the sun

This commit is contained in:
Xonk 2023-06-20 00:41:03 -04:00
parent 5aea35fe25
commit cf1393c21a
2 changed files with 2 additions and 2 deletions

View File

@ -858,9 +858,9 @@ void main() {
background += stars(orbitstar) * 5.0 ;
#ifndef ambientLight_only
background += Moon(np3, -WsunVec, blackbody2(12000), background); // moon
background += drawSun(dot(lightCol.a * WsunVec, np3),0, DirectLightColor,vec3(0.0)) ; // sun
// vec3 moon = drawSun(dot(lightCol.a * -WsunVec, np3),0, DirectLightColor/5,vec3(0.0)) ; // moon
background += Moon(np3, -WsunVec, blackbody2(12000), background); // moon
#endif
background *= clamp( (np3.y+ 0.02)*5.0 + (eyeAltitude - 319)/800000 ,0.0,1.0);

View File

@ -94,7 +94,7 @@ screen = [Direct_Light] [World] [Ambient_light] [Fog] [Post_Processing] [Clouds]
######## CLIMATE
screen.Climate.columns=1
screen.Climate = Daily_Weather [Biome_Fog] [Seasons]
screen.Climate = Daily_Weather Biome_specific_environment [Seasons]
## BIOME SPECIFICS
screen.Biome_Fog.columns=1