mirror of
https://github.com/shinyobjectz/raea.git
synced 2026-12-01 12:44:11 -10:00
MeshStandardMaterial's wear and raea/pbr's <WearExtension> drew with the engine's own MaterialExtension (systems/wear). They now write the same shader on the public surface hook (sdk/render/src/worn.ts, WORN_WESL: the same noise, curvature edges, grime, rust and chips, in the mesh's own space), so wear is an author's shader like any other and raea/wear's weather and the paint wear share one path. A parity scene (sharp, turned and round parts, every setting) renders the same as before, RMSE 3.8e-5 of full scale. One change: clay draws custom surface shaders as they are, so worn paint now shows in a clay render, as a ShaderExtension's does. Deleted: systems/wear, its WearPlugin, its spawn branch, its mesh-row columns, its layer entries, and its type in the registry snapshot, bevy.gen.tsx and sdk-coverage (reached 1557 -> 1556: the type is gone; wear is still authored). wear with shader or grid on one material is refused (it was silently dropped). WearExtension keeps its props, so the guides are unchanged; it carries no @bevy tag of its own now, since its Bevy type is ShaderExtension's.
24 lines
1.0 KiB
TOML
24 lines
1.0 KiB
TOML
[package]
|
|
name = "raea-runtime-scene"
|
|
version = "0.1.0"
|
|
edition = "2024"
|
|
license = "FSL-1.1-ALv2"
|
|
publish = false
|
|
description = "A composition's 3D as raea-render rows: the camera, lights, meshes, models and pictures, keyed per frame, and live play's row changes"
|
|
|
|
[dependencies]
|
|
raea-core-scene = { path = "../../core/scene" }
|
|
raea-core-program = { path = "../../core/program" }
|
|
raea-runtime-look = { path = "../look" }
|
|
raea-runtime-scene2d = { path = "../scene2d" }
|
|
bevy = { version = "=0.20.0", default-features = false, features = ["std"] }
|
|
serde_json = "1"
|
|
# a material's `procedural` prop as its row's columns
|
|
raea-sys-procmat = { path = "../../systems/procmat" }
|
|
# a review's fixed camera (RAEA_CAMERA) in place of the scene's own
|
|
raea-core-review = { path = "../../core/review" }
|
|
# a part's layer key from its source stamp (docs/review.feature R2a)
|
|
raea-sys-frame = { path = "../../systems/frame" }
|
|
# which of an export's layers draw the 3D (RAEA_LAYER, docs/layers.feature LA2a)
|
|
raea-sys-layers = { path = "../../systems/layers" }
|