diff --git a/src/runtime-three/runtime-project-time.ts b/src/runtime-three/runtime-project-time.ts index 7d0c1fb0..0e2ee6ef 100644 --- a/src/runtime-three/runtime-project-time.ts +++ b/src/runtime-three/runtime-project-time.ts @@ -993,7 +993,12 @@ export function resolveRuntimeDayNightWorldState( timeOfDay.dusk.lightIntensityFactor, 0, phaseWeights - ) * smoothstep(-0.16, 0.18, sunDirection.y); + ) * + smoothstep( + CELESTIAL_LIGHT_HORIZON_FADE_START, + CELESTIAL_LIGHT_HORIZON_FADE_END, + sunDirection.y + ); const ambientFactor = blendScalarByWeights( 1, timeOfDay.dawn.ambientIntensityFactor,