Skip to content

Commit 0cd59b7

Browse files
authored
space sky idk 2
1 parent 248b552 commit 0cd59b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shaders/lib/atmospherics/stars.glsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ vec3 GetStars(vec2 starCoord, float VdotU, float VdotS, float sizeMult, float st
7373
star *= max0(1.0 - pow(abs(VdotS) * 1.002, 100.0) * starsAroundSun) * starBelowHorizonBrightness - horizonFactor * 0.5;
7474

7575
#ifndef DAYLIGHT_STARS
76-
star *= min(1, pow2(pow2(invNoonFactor2)) * (1.0 - 0.5 * sunVisibility) + clamp((cameraPosition.y - 250) / 150, 0.0, 1.0));
76+
star *= min(1, pow2(pow2(invNoonFactor2)) * (1.0 - 0.5 * sunVisibility) + clamp((cameraPosition.y - 180) / 220, 0.0, 1.0));
7777
#endif
7878

7979
#ifdef CLEAR_SKY_WHEN_RAINING

0 commit comments

Comments
 (0)