mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2024-12-23 01:59:39 +08:00
fix tiny oopsie doopsie where the moon occluded the sun
This commit is contained in:
parent
5aea35fe25
commit
cf1393c21a
@ -858,9 +858,9 @@ void main() {
|
|||||||
background += stars(orbitstar) * 5.0 ;
|
background += stars(orbitstar) * 5.0 ;
|
||||||
|
|
||||||
#ifndef ambientLight_only
|
#ifndef ambientLight_only
|
||||||
|
background += Moon(np3, -WsunVec, blackbody2(12000), background); // moon
|
||||||
background += drawSun(dot(lightCol.a * WsunVec, np3),0, DirectLightColor,vec3(0.0)) ; // sun
|
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
|
// vec3 moon = drawSun(dot(lightCol.a * -WsunVec, np3),0, DirectLightColor/5,vec3(0.0)) ; // moon
|
||||||
background += Moon(np3, -WsunVec, blackbody2(12000), background); // moon
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
background *= clamp( (np3.y+ 0.02)*5.0 + (eyeAltitude - 319)/800000 ,0.0,1.0);
|
background *= clamp( (np3.y+ 0.02)*5.0 + (eyeAltitude - 319)/800000 ,0.0,1.0);
|
||||||
|
@ -94,7 +94,7 @@ screen = [Direct_Light] [World] [Ambient_light] [Fog] [Post_Processing] [Clouds]
|
|||||||
|
|
||||||
######## CLIMATE
|
######## CLIMATE
|
||||||
screen.Climate.columns=1
|
screen.Climate.columns=1
|
||||||
screen.Climate = Daily_Weather [Biome_Fog] [Seasons]
|
screen.Climate = Daily_Weather Biome_specific_environment [Seasons]
|
||||||
|
|
||||||
## BIOME SPECIFICS
|
## BIOME SPECIFICS
|
||||||
screen.Biome_Fog.columns=1
|
screen.Biome_Fog.columns=1
|
||||||
|
Loading…
Reference in New Issue
Block a user