From a311b33c58a383d08db4fd2f69fa91cccdf6d9f7 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Wed, 22 Apr 2026 14:01:35 +0200 Subject: [PATCH] auto-git: [change] src/app/App.tsx [change] src/viewport-three/viewport-host.ts --- src/app/App.tsx | 34 +++++++++++++++++++++++++++++ src/viewport-three/viewport-host.ts | 5 +++++ 2 files changed, 39 insertions(+) diff --git a/src/app/App.tsx b/src/app/App.tsx index 07b7e3bf..3af8a24b 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -10342,6 +10342,19 @@ export function App({ store, initialStatusMessage }: AppProps) { ); }; + const applySceneShowCelestialBodies = (enabled: boolean) => { + applyWorldSettings( + { + ...editorState.document.world, + showCelestialBodies: enabled + }, + enabled ? "Enable celestial body overlay" : "Disable celestial body overlay", + enabled + ? "Sun and moon overlays now render in the sky." + : "Sun and moon overlays are now hidden." + ); + }; + const applyAdvancedRenderingSettings = ( label: string, successMessage: string, @@ -13900,6 +13913,27 @@ export function App({ store, initialStatusMessage }: AppProps) { +
+ +
+ Draws shader-based sun and moon overlays at the current + resolved light directions in both the editor viewport and + the runner. +
+
+