Expose the yard's hemisphere light for skyfx
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 <noreply@anthropic.com>
This commit is contained in:
parent
0dba2d8891
commit
7f3ef69685
@ -343,7 +343,11 @@ export function createWorld(scene, opts = {}) {
|
|||||||
sunDir: SUN_DIR.clone(),
|
sunDir: SUN_DIR.clone(),
|
||||||
solids,
|
solids,
|
||||||
root,
|
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,
|
sun,
|
||||||
|
hemi,
|
||||||
|
|
||||||
/** @param {string} id */
|
/** @param {string} id */
|
||||||
anchor(id) {
|
anchor(id) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user