Attribute node

material

Assign a material name + base colour (+ roughness/metallic prim attribs) to prims. GLB export builds PBR materials from it.

Inputs

Parameters 6

materialstring
Default default

Material name written to prim attrib 'material' (exporters group faces by it)

colorcolour
Default [0.8, 0.8, 0.8]

Base colour written as prim Cd

set_colortoggle
Default on

No description.

roughnessfloat
Default 0.6

No description.

metallicfloat
Default 0

No description.

groupstring
Default ""

No 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.