diff --git a/src/runtime-three/runtime-host.ts b/src/runtime-three/runtime-host.ts index b4a32056..1dba47a1 100644 --- a/src/runtime-three/runtime-host.ts +++ b/src/runtime-three/runtime-host.ts @@ -69,13 +69,17 @@ import { type StarterMaterialTextureSet } from "../materials/starter-material-textures"; import { - applyAdvancedRenderingLightShadowFlags, applyAdvancedRenderingRenderableShadowFlags, + configureAdvancedRenderingShadowLight, configureAdvancedRenderingRenderer, createAdvancedRenderingComposer, resolveBoxVolumeRenderPaths, type ResolvedBoxVolumeRenderPaths } from "../rendering/advanced-rendering"; +import { + fitCelestialDirectionalShadow, + resolveDominantCelestialShadowCaster +} from "../rendering/celestial-shadows"; import { resolveWorldCelestialBodiesState, resolveWorldEnvironmentState, @@ -407,6 +411,7 @@ export class RuntimeHost { private currentRuntimeMessage: string | null = null; private currentPlayerControllerTelemetry: PlayerControllerTelemetry | null = null; + private currentCelestialShadowCaster: "sun" | "moon" | null = null; private currentInteractionPrompt: RuntimeInteractionPrompt | null = null; private currentDialogue: RuntimeDialogueState | null = null; private currentPauseState: RuntimePauseState = {