Render Anything Engine: tell your AI what to make. Videos, motion graphics, 3D and games as React and TypeScript, rendered on your own GPU. Rust + Bevy, macOS, Linux and Windows.
TypeScript 3dagent-skillsai-agentsai-videobevyclaude-codegame-enginegpulinuxmacosmotion-designmotion-graphicsreactrusttypescriptvideo-editingvideo-renderingwgpuwindows
The R3F guide says when to set three's ambient of 0 by hand; skills pinned at raea-skills #96
shinyobjectz75c6e74d6d24
diff --git a/sdk/guides/craft/bevy/r3f.md b/sdk/guides/craft/bevy/r3f.mdindex 8f8e8502..70f2c0e9 100644--- a/sdk/guides/craft/bevy/r3f.md+++ b/sdk/guides/craft/bevy/r3f.md@@ -111,6 +111,19 @@ chain's own isn't run. Close, not exact: hemisphere lights, light probes, Phong`<GodRays>`, bloom (raea's, added on top as three's is), and a very dark surface, which reads a little lighter thanthree's.+Ambient light is where a three.js scene most often comes out wrong. Three has no ambient light unless the scene adds+one, while Bevy lights every camera with a white ambient of 80 cd/m² unless it's told otherwise. A three.js scene's+metals and dark surfaces then glow evenly where three draws them black (a product shot on black: crop SSIM 0.83 against+0.996 with the ambient matched). Since 0.1.6, `<R3F>` sends an ambient of 0 for a scene that has none, so nothing needs+doing there. Apply the compensation yourself in two cases:++- on raea 0.1.5 and earlier: put `<ambientLight intensity={0} />` in the R3F scene that has no ambient light+- in a three.js scene rebuilt with raea's own components (`<Camera3d>`, `<Mesh3d>`): add+ `<AmbientLight brightness={0} />` from `raea/light` (or the scene's own level) beside its other lights++Three's ambient, hemisphere and light-probe lights light only the diffuse; raea's ambient lights the specular too, so a+glossy surface under one reads a little brighter than three's.+What raea can't draw is named once in the render's output (`raea/r3f: ...`), and the frame draws without it:- a TSL compute with an indirect dispatch, a texture or a matrix uniform: the scene is drawn without what it computesdiff --git a/skills b/skillsindex 86d323a8..4f32e4b6 160000--- a/skills+++ b/skills@@ -1 +1 @@-Subproject commit 86d323a80e9ff7f16def2deb025f1dbe8278b5a9+Subproject commit 4f32e4b62f758b739a3b8ac37fd61d43990190f3