Attribute node
material
Assign a material name + base colour (+ roughness/metallic prim attribs) to prims. GLB export builds PBR materials from it.
Inputs
- 0geometry
Parameters 6
materialstringMaterial name written to prim attrib 'material' (exporters group faces by it)
colorcolourBase colour written as prim Cd
set_colortoggleNo description.
roughnessfloatNo description.
metallicfloatNo description.
groupstringNo description.
Use it
Add it from the node menu (right-click empty graph space or Tab, then type material), ask the AI for it by name, or add it with a graph op from the API or MCP:
{"op":"add","type":"material","name":"my_material","params":{},"inputs":["src"]}Any parameter can also be an expression such as "=sin(F*0.1)". See Parameters & expressions.