One box, copied three times, each copy a different colour. It shows how a material node picks which objects it applies to, using the object index as its group, and how it points at a material by relative path.
mat/MeshBasic geo/Material
Documentation / Node reference / mat nodes
A simple, unlit-style mesh material with a flat colour.
Mesh
Assigns a solid colour to a mesh. Create it inside a geo/MaterialNetwork, then point a geo/Material node at it (by path) to shade objects. Use the group on geo/Material to give different objects different materials.
| Name | Type | What it does |
|---|---|---|
| color | Color4 | not documented yet |
| useVertexColor | Float | not documented yet |
| advanced | Bool | not documented yet |
| depthCompare | UInt8 | not documented yet |
| depthBias | SInt32 | not documented yet |
| depthBiasSlopeScale | Float | not documented yet |
| depthBiasClamp | Float | not documented yet |
Scenes you can open in the editor that teach this node.
One box, copied three times, each copy a different colour. It shows how a material node picks which objects it applies to, using the object index as its group, and how it points at a material by relative path.
mat/MeshBasic geo/Material
This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.