Build the PHYSICAL material for a material="physical" mesh
(MESH_PHYSICAL_MATERIALS_SPEC.md §3.2).
The third material family, and deliberately not a branch inside
createMeshMaterial: nothing that function does — the volumetric warning, the
shade knobs, the colormap window, the texture placeholder — applies here. The
authoring side refuses every one of those knobs under this material, so what is
mapped is exactly what can arrive: the numeric knobs of PHYSICAL_MESH_KNOBS (the
six surface fractions and the glass family), the two #rrggbb colours,
the compositing attrs opacity / intensity / offset / gamma (each with the
meaning materials/mesh-physical/config.ts documents), alpha_cutoff as
alphaTest, and the flat/smooth half of shading as flatShading.
An INHERITED blending_mode can still reach a physical mesh from an ancestor group
that the mesh knows nothing about at write time. It is ignored — a physical mesh
composites by its own data-driven rule — with a one-time notice naming the node, the
same policy the house shader applies to an inherited volumetric.
Build the PHYSICAL material for a
material="physical"mesh (MESH_PHYSICAL_MATERIALS_SPEC.md§3.2).The third material family, and deliberately not a branch inside createMeshMaterial: nothing that function does — the volumetric warning, the shade knobs, the colormap window, the texture placeholder — applies here. The authoring side refuses every one of those knobs under this material, so what is mapped is exactly what can arrive: the numeric knobs of
PHYSICAL_MESH_KNOBS(the six surface fractions and the glass family), the two#rrggbbcolours, the compositing attrsopacity/intensity/offset/gamma(each with the meaningmaterials/mesh-physical/config.tsdocuments),alpha_cutoffasalphaTest, and the flat/smooth half ofshadingasflatShading.An INHERITED
blending_modecan still reach a physical mesh from an ancestor group that the mesh knows nothing about at write time. It is ignored — a physical mesh composites by its own data-driven rule — with a one-time notice naming the node, the same policy the house shader applies to an inheritedvolumetric.