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
# raea fix's own entries (read by systems/fixes, raea-sys-fixes): problems found and fixed in raea work,
# searched before the library and shown first. Columns: problem, cause, fix, error text, domains, where and when found.
# Add one when a fix was confirmed on a frame; remove one when the engine fixes its cause.
Additive glow draws nothing `unlit` shows only `base_color`, so an emissive on an unlit material is dropped Leave `unlit` off an additive glow (`base_color="#000000" alpha_mode="Add" emissive=...`) and use `perceptual_roughness={1} reflectance={0}` instead. raea 3d bevy launch film, 11-09
Emissive texture draws nothing, the surface stays black A 1-channel (greyscale) or palettised PNG as `emissive_texture` Save it as RGB (`magick in.png -type TrueColor PNG24:out.png`), or draw it with `base_color_texture` on an `unlit` white material. Confirm on a frame. raea 3d bevy launch film, 11-09/11-10
Radial stripes across additive cone or beam layers Additive layers pick up the lights' specular highlights Give additive layers `reflectance={0}`. raea 3d bevy launch film, 11-09
A simulated or per-frame BufferMesh stands still The engine keeps the first geometry it saw under a name Give a `BufferMesh` whose positions change a per-frame `name` and key, e.g. ``name={`sheet-${Math.round(t * 30)}`}``. raea 3d launch film, 11-09
Text3D words sit half a word left of where they were placed A `Text3D`'s origin is the word's middle, not its left edge Lay words out by their centres (add half the word's width when placing from a left edge). raea 3d text launch film, 11-10
Sky, horizon or distant city cut off a short way out The camera's far plane is nearer than the scene (200 m in some looks, while a sky dome was 188 m across) Raise the camera's `far` above the scene's extent. raea 3d bevy launch film, 11-10
Emissive type or glow vanishes in a night scene Emissive on a lit material is multiplied by the view's exposure, which a dark scene raises Make white type in the dark `unlit` (its `base_color` draws at full strength). raea 3d bevy lighting launch film, 11-10
Paint look: a shot from far away is greyed out The paint look's haze is one colour for the whole frame Set `hazeMost={0}` for shots from a distance (a long lens standing in for an orthographic camera). raea 3d look launch film, 11-10
Solari: a sun added after the first frame lights nothing A `DirectionalLight` spawned after a render's first frame isn't traced; one present from frame 0 keeps its frame-0 strength (its direction follows) Keep one sun from frame 0 at full strength and vary only its direction (aim it up from under the floor where there should be none). raea 3d solari lighting bevy 0.1.1 showcase, 11-10
Solari: frames rendered with --at far apart lose the sun and fog shadows A jump of more than about 4.5 s between two drawn frames leaves stale ray-tracing data for every later frame Render stills one per render, and a film a shot per render (a `<Composition>` per shot), joined with a re-encode. raea 3d solari render 0.1.1 showcase, 11-10
A temporal effect looks wrong on an --at still but right in the video `raea render --at` draws none of the frames between the listed ones, so Solari, the denoiser and TAA have almost no history For anything temporal, render every frame to a directory (`-o dir/`, no `--at`) and pick frames from it. `--at` output files are numbered from 0 in list order. raea render solari lightbench, 11-19
Solari: dark arcs or patches drift on walls after a light jumps MetalFX's temporal denoiser carries history across the jump; `reset: true` also resets the denoiser and makes it worse Change no light faster than about 0.2 of its level a frame: ramp strikes (about 40 frames, eased), ease flicker dips, fade blow-outs over about 12 frames. raea 3d solari lighting FLOOR3, 11-14
A ShaderExtension's animation is frozen on its first frame A `ShaderExtension`'s uniforms are the first frame's, and `globals.time` doesn't advance in stills Carry time through an animated material value: `animate={{ emissive: track(KEYS) }}` with a key every frame on the base StandardMaterial, read in the shader as `material.emissive.r`. raea 3d shaders wgsl Fingerprint films, 11-13
Splats draw each other's data or garbage slabs when one mounts or unmounts Splats swap data when one unmounts and another mounts Keep every `<Splat>` in the tree from the first frame and park the unused ones off stage (far `position`, `opacity={0}`). raea 3d splat Fingerprint films, 11-13
A splat prop keeps an old value A splat prop left out of a frame keeps its last value Give every animated splat prop on every frame. raea 3d splat Fingerprint films, 11-13
--w, --h or --frames are ignored by raea render The file has a `<Composition>`, whose size and length win Set `width`, `height` and `durationInFrames` on the `<Composition>`. raea render Fingerprint films, 11-13
mix-blend-mode on a child draws blocky rectangles that move `mixBlendMode` on a child inside an `overflow: hidden`, `clipPath` or rotated box is drawn in mismatched rectangles (an engine gap) Use `backgroundImage` + `backgroundBlendMode` + `backgroundColor` on the card's own element, or bake the colour into the texture (ffmpeg `lutrgb`). raea css motion Fingerprint explainer, 11-12
A long MP4 render is refused at the end after rendering everything Past 4 GB the MP4 writer has no 64-bit mdat (grain or noise at `--quality high` on a long film) Pass an explicit bitrate, e.g. `--kbps 40000`, instead of `--quality high`. MP4 MDAT box size exceeds u32::MAX raea render video essay, 11-21
raea run prints nothing: no console.log, no result `raea run` shows neither console output nor the default export's value; a thrown error prints only its stack, which leaves the message out Throw what you want to read as the stack: `throw Object.assign(new Error(m), { stack: m })`. raea run gambit, 11-18
raea run stops a script after two minutes `raea run` stops a script after 120 s by default Pass `--timeout SECONDS` (e.g. `--timeout 400`). didn't finish in 120 s raea run gambit, 11-18
A WGSL pass silently does nothing although the render reports 0 errors A reserved WGSL word used as a name: `shared` (as a module file name), `filter` (as an entry point); also `common`, `smooth`, `target`, `module`, `meta`, `set`. Bevy logs the error once Rename it, and search the log for the shader error rather than trusting the error count. raea shaders wgsl bevy raea GI, 11-18
Poly Haven glTF plants render every leaf card as a solid quad The base colour is a JPEG named diff-alpha, but JPEG carries no alpha Fetch the set's Alpha map, composite it into the diffuse as an RGBA PNG (`magick diff ( alpha -colorspace gray ) -alpha off -compose CopyOpacity -composite PNG32:out.png`) and set the material's alpha to MASK (BLEND isn't instanced by `<Instances>`). raea 3d blender Stay forest, 11-12
raea show says the running app is older than raea show, but it isn't ~/.raea/app-host.json, which names the app's host, went missing Find the host's port (`pgrep -fl host.mjs`, its `--port N`) and run `RAEA_FEED_HOST=http://127.0.0.1:N raea show ...`; no restart needed. is older than raea show raea show app 11-18
Bevy: a glTF's animation compiles and plays but the bones don't move A fresh entity with `AnimationPlayer` and `AnimationGraphHandle` isn't the player the glTF's bones are bound to Spawn the scene with `WorldAssetRoot`, observe `On<WorldInstanceReady>`, find the loader's `AnimationPlayer` among the scene's descendants, insert the `AnimationGraphHandle` there and play (Bevy's `examples/animation/animated_mesh.rs`). raea bevy 3d Bevy 0.20 trial, 11-23
A GLB from Blender's web export doesn't load in Bevy Bevy 0.20's glTF loader doesn't support `EXT_meshopt_compression`, which Blender's web export marks required Export without meshopt (`export_meshopt_compression_enable=false`) for anything but three.js. EXT_meshopt_compression raea bevy blender 3d Bevy 0.20 trial, 11-23
Bevy can't load assets outside assets/ The asset server reads only under `assets/` by default Set `AssetPlugin { file_path, .. }` (or `unapproved_path_mode`). raea bevy Bevy 0.20 trial, 11-23
Blender clips start a frame late, and a loop holds its first pose at every seam The glTF export keeps the action's start frame Export with `export_anim_slide_to_zero=true`. raea blender 3d Blender 5.2 trial, 11-23
A looping Blender animation dips or flattens at its ends Auto-clamped handles flatten at the first and last keys Add a `CYCLES` F-curve modifier before baking; `bake_action` and the glTF exporter read the evaluated curve. raea blender 3d Blender 5.2 trial, 11-23
Blender turntable renders overexposed by about two stops under AgX The skill's `turntable.py` studio rig scales the key with distance squared Lower `view_settings.exposure` (about -2) or the lights' power, and check the 18% grey backdrop reads grey. It also resets the frame range to 1-120. raea blender lighting Blender 5.2 trial, 11-23
three.js can't find a bone by its Blender name GLTFLoader strips `.` from node names: `hand.R` arrives as `handR` Look bones up by the stripped name (remove dots from Blender's). raea threejs blender three.js r187 trial, 11-23
three.js: a skinned mesh's limb pops out of view when animated Skinned meshes are culled by their bind-pose bounds Set `frustumCulled = false` on skinned meshes, or grow their bounds to the clip's. raea threejs three.js r187 trial, 11-23