This commit is contained in:
1 parent
d77cc6a40e
commit
cc6acb188d
11 files changed
+548
-165
No files matched your search
@@ -1,4 +1,4 @@
|
||||
# ADR 0018: Componentized actor inspector and material overrides
|
||||
# ADR 0018: Componentized actor inspector and materials
|
||||
|
||||
## Status
|
||||
|
||||
@@ -35,17 +35,19 @@ Component footer rather than an ad hoc button near Transform.
|
||||
`ColliderDesc` and `RigidBodyDesc`. Mesh collider generation creates
|
||||
`ColliderDesc::StaticMesh` instead of renderer collider flags.
|
||||
- Materials are shader-schema aware. `MaterialDesc` stores a `ShaderRefDesc`,
|
||||
typed shader parameters, and texture bindings. Actor-level material edits are
|
||||
stored in `MaterialOverride`; shared material assets remain content-browser
|
||||
assets.
|
||||
typed shader parameters, texture bindings, StandardMaterial fields, and
|
||||
optional asset references. When an actor has an active `MaterialDesc`, static
|
||||
mesh hydration uses it before imported slot/source materials. Slot material
|
||||
references remain source/default selectors, not a separate actor material
|
||||
editing surface. Shared material assets remain content-browser assets.
|
||||
|
||||
## Consequences
|
||||
|
||||
- New model placement creates `StaticMeshRenderer` plus optional
|
||||
`RigidBodyDesc`/`ColliderDesc`; legacy `PhysicsBody` remains loadable for old
|
||||
scenes.
|
||||
- Actor inspectors show imported asset selectors for mesh/material slots instead
|
||||
of source-path text fields.
|
||||
- Actor inspectors show imported asset selectors for mesh/source-material slots
|
||||
instead of source-path text fields.
|
||||
- Disabling a component in the inspector keeps its authoring data but prevents
|
||||
hydration/runtime systems from using it. Mesh, material, light, physics, and
|
||||
post-process hydration strip stale runtime components when active state
|
||||
|
||||
Reference in new issue
Block a user