Expand description
PBR surface-finish material data.
MaterialData carries the surface-finish half of a PBR material
(metallic/roughness). Albedo intentionally stays in the separate Color
wrapper so the existing color pipeline (SDF palette, vertex colors,
OpenSCAD color()) keeps working unchanged; a material preset applies
both. Fields all have serde defaults so the struct can grow (reflectance,
emissive, alpha mode, texture references) without breaking saved scenes.
Structs§
- Material
Data - Surface-finish parameters for a PBR material, applied by the
Materialwrapper node.
Constants§
- DEFAULT_
METALLIC - Default metallic factor applied when no material is assigned.
- DEFAULT_
ROUGHNESS - Default perceptual roughness applied when no material is assigned.