mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 06:53:19 -10:00
bevy_solari 0.20 is vendored (vendor/bevy_solari, changes marked "raea:"). Each TLAS instance now carries a mask, so a ray finds the nearest opaque hit and then walks the see-through instances up to it: Mask materials stop it by their cutoff, Blend by the chance of their alpha, Premultiplied by that plus their clear coat's Fresnel share (the path tracer shades the coat alone, weighted back), and Add never. Before, every traced mesh was opaque, so a transparent skin turned what it covered black. StandardMaterial's uv_transform now applies to traced texture reads. <Environment> finds a panorama's sun when it loads (systems/environment sun.rs), using the panorama's own floats, and Solari samples that sun as a directional light. Inside the sun's disk the environment map shows the sky around it, so its light isn't counted twice; camera rays and mirror bounces still see the panorama's sun. The path tracer bends a normal-mapped normal that faces away from a grazing ray, which removes the black streaks toward the horizon of a bumpy plane.
raea-render
raea-render: raea's render engine. raea compositions are lowered to its program (rows spawned once, keyed per
frame) by sdk/react/ and drawn here, so a render and a live play draw from the same rows with the
same code.
src/engine.rsandsrc/engine/: the Bevy renderer: 3D scenes (meshes, lights, cameras, glTF models, post effects), video frames, the painted pages as image rows (src/rows2d.rs, drawn by bevy_ui) and sound.src/gpuview.rs: the direct GPU path a render encodes from.src/html.rs: HTML compositions, drawn by bevy_ui throughruntime/js/.src/cli.rsandsrc/media_verbs.rs: native media verbs (raea media ..., plusraea ffmpegandraea ffprobe, which read ffmpeg-style command lines without running ffmpeg). raea and the shell run them in process.
Depends on runtime/js/, systems/k/, io/media/ and
gpu/device/.
Status: in use as the renderer behind raea.