From 7f3ef696859e1b573dfe28099d476452e8e25fb9 Mon Sep 17 00:00:00 2001 From: m3ultra Date: Thu, 16 Jul 2026 23:38:03 +1000 Subject: [PATCH] Expose the yard's hemisphere light for skyfx MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Lane C's skyfx modulates sun and hemi as the storm builds and hands them back on dispose() — it doesn't own them. It already had `sun`; `hemi` was private, so the sky could darken but the sky-bounce fill couldn't follow it down. Co-Authored-By: Claude Opus 4.8 --- web/world/js/world.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/web/world/js/world.js b/web/world/js/world.js index 6abb07f..9eca335 100644 --- a/web/world/js/world.js +++ b/web/world/js/world.js @@ -343,7 +343,11 @@ export function createWorld(scene, opts = {}) { sunDir: SUN_DIR.clone(), solids, root, + // Lane C's skyfx MODULATES these as the storm builds and hands them back + // untouched on dispose() — it doesn't own them. That's why the yard exposes + // its lights rather than keeping them private. sun, + hemi, /** @param {string} id */ anchor(id) {