From 13ab51e145770d12984899582dfcfbb79fdec12c Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Tue, 28 Apr 2026 14:27:28 +0200 Subject: [PATCH] Define constants for celestial light horizon fading --- src/runtime-three/runtime-project-time.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/runtime-three/runtime-project-time.ts b/src/runtime-three/runtime-project-time.ts index 7c748c87..7d0c1fb0 100644 --- a/src/runtime-three/runtime-project-time.ts +++ b/src/runtime-three/runtime-project-time.ts @@ -26,6 +26,8 @@ const UP_AXIS: Vec3 = { y: 1, z: 0 }; +const CELESTIAL_LIGHT_HORIZON_FADE_START = -0.28; +const CELESTIAL_LIGHT_HORIZON_FADE_END = 0.04; export interface RuntimeClockState { timeOfDayHours: number; dayCount: number;