auto-git:

[change] src/runtime-three/runtime-host.ts
This commit is contained in:
2026-04-22 15:21:01 +02:00
parent 518583e42e
commit c0e4fcce4c

View File

@@ -1126,12 +1126,19 @@ export class RuntimeHost {
resolvedWorld.sunLight,
resolvedWorld.moonLight
);
const shaderSkyState = resolveWorldShaderSkyRenderState(
this.currentWorld,
resolvedWorld,
resolvedTime,
this.runtimeScene.time
);
this.worldBackgroundRenderer.update(
resolvedWorld.background,
backgroundTexture,
backgroundOverlayState,
celestialBodiesState
celestialBodiesState,
shaderSkyState
);
this.scene.background = null;
this.scene.environment = environmentState.texture;