Skip to content

R3F guide: when to set three's ambient of 0 by hand; files.md lists the JS heap log - #96

Merged
shinyobjectz merged 1 commit into
mainfrom
perf-016-notes
Nov 17, 2026
Merged

shinyobjectz merged 1 commit into
mainfrom
perf-016-notes

Conversation

@shinyobjectz

Copy link
Copy Markdown
Owner

3d/r3f.md is the copy of raea's craft guide sdk/guides/craft/bevy/r3f.md with one new paragraph. Bevy lights every camera with a white ambient of 80 cd/m², which three never has. <R3F> sends an ambient of 0 since 0.1.6. On 0.1.5 and earlier, and in a three.js scene rebuilt with raea's own components, the paragraph says to add it by hand. It also notes that raea's ambient lights the specular too.

reference/files.md gains ~/.raea/logs/js-heap- (runtime/jsengine/src/upkeep.rs, raea 0.1.6: a page's JS heap logged with RAEA_INSPECT). This is what tools/skills.sh gen writes for raea's main plus the perf-js-upkeep lane.

directory/ was rebuilt with just directory. just ci passes.

…s.md lists the JS heap log

3d/r3f.md (a copy of raea's craft guide): Bevy lights every camera with a white ambient of 80 cd/m², which three
never has, so a three.js scene's metals and dark surfaces glowed where three draws them black. <R3F> sends an ambient
of 0 since 0.1.6; the guide now says to add it yourself on 0.1.5 and earlier, and in a three.js scene rebuilt with
raea's own components, and that raea's ambient also lights the specular.

reference/files.md: ~/.raea/logs/js-heap-<pid>-<n>.jsonl, a page's JS heap logged with RAEA_INSPECT (raea 0.1.6).
@shinyobjectz
shinyobjectz merged commit 4f32e4b into main Nov 17, 2026
1 check passed
@shinyobjectz
shinyobjectz deleted the perf-016-notes branch November 17, 2026 00:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant