From 9e4891f667e0e03672bd19ee8259e9120836e749 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sun, 12 Apr 2026 14:34:04 +0200 Subject: [PATCH] Add Night Background Image feature in App.tsx --- src/app/App.tsx | 88 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/src/app/App.tsx b/src/app/App.tsx index 205cddc0..557efb9a 100644 --- a/src/app/App.tsx +++ b/src/app/App.tsx @@ -9667,6 +9667,94 @@ export function App({ store, initialStatusMessage }: AppProps) { /> +
+
Night Background Image
+ + {editorState.projectDocument.time.nightBackground.assetId === + null ? ( + imageAssetList.length === 0 ? ( +
+ Import an image asset to author a dedicated night sky image. +
+ ) : ( +
+ Night falls back to the blended dawn/dusk/night sky colors until an image is selected. +
+ ) + ) : ( + <> + +
+ {editorState.document.assets[ + editorState.projectDocument.time.nightBackground + .assetId + ]?.sourceName ?? + editorState.projectDocument.time.nightBackground + .assetId} +
+ + )} +
Dawn, dusk, and night profiles blend over each scene's authored World settings whenever the scene enables global time influence.