This website requires JavaScript.
Explore
Help
Sign In
shinyobjectz
/
raea
Watch
1
Star
0
Fork
0
mirror of
https://github.com/shinyobjectz/raea.git
synced
2026-12-01 12:44:11 -10:00
Code
Issues
Packages
Projects
Releases
1
Wiki
Activity
Files
engine-render-cost
raea
/
systems
/
three-shader
T
Add File
New File
Upload File
Apply Patch
Copy Permalink
Download directory as ZIP
Download directory as TAR.GZ
History
shinyobjectz
fcd055cca3
R3F24: a three shader's GLSL can write a surface Bevy lights (glsl.rs Source lit, the spec's glsl.lit): its fragment stage's four outputs in turn (base, normal and roughness, emission and metalness, the point in world space) returned as ThreeSurface through three_surface, its varyings carrying the instance, as a lit TSL material's do (surface.rs); a lit stage without four outputs is refused by name. Test: a lit stage returns its surface
2026-11-15 14:01:01 -08:00
..
src
R3F24: a three shader's GLSL can write a surface Bevy lights (glsl.rs Source lit, the spec's glsl.lit): its fragment stage's four outputs in turn (base, normal and roughness, emission and metalness, the point in world space) returned as ThreeSurface through three_surface, its varyings carrying the instance, as a lit TSL material's do (surface.rs); a lit stage without four outputs is refused by name. Test: a lit stage returns its surface
2026-11-15 14:01:01 -08:00
Cargo.toml
R3F23: a camera drawing into an image, in the engine (R3F23a). A PerspectiveCamera row whose target is "render:NAME:WxH" (":float" for an Rgba16Float image) is a rendercam: raea-runtime-look's rendercam.rs gives it a row of its own (into, on keyed by step, no tone curve, the ambient light of its own layers), the engine spawns it on that image (RenderTarget::Image, no multisampling or dither, Hdr for a float image) before the screen's camera, and a material's map naming the image reads what it drew. raea-sys-frame's render_image.rs parses and makes the image once for every source naming it; a three shader follows only the screen camera's tone mapping; the TSX PerspectiveCamera takes target and layers, and a camera with a target isn't the one the pointer picks through
2026-11-15 13:03:41 -08:00