tiny tweaks

This commit is contained in:
Xonk
2023-06-20 00:19:32 -04:00
parent cf945dcb8c
commit 5aea35fe25
6 changed files with 26 additions and 9 deletions

View File

@ -860,7 +860,7 @@ void main() {
#ifndef ambientLight_only
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, DirectLightColor*25, background); // 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);