Material
surface node
Assigns one or more materials to geometry.
See also: Material shader, Materials, Material palette
Overview
The Material node assigns a material to a list or group of primitives (faces) or points.
This node lets you override individual parameters on the material, allowing you to apply per-primitive customizations of a base material (see the help for the Local parameters option below).
Under the hood, the node creates an attribute named shop_material and sets it to the pathname of the material. The scene viewer and mantra use the attribute
Parameters
|
Attributes |
The level at which to assign the materials. You should usually leave this set to Primitive attributes.
|
||||||
|
Use full paths to materials |
This stores the full path to the material. Normally you should leave this on. |
||||||
|
Number of materials |
The number of materials to assign. This is useful for assigning materials to various groups of primitives. You cannot layer materials – if you assign multiple materials to the same primitive, the last material will override the previous ones. |
Tabs
The node creates tabs for the Number of materials you set. To insert an additional material, click the
Add button. To remove a material, click its tab, then click the
Delete button.
|
Group |
A list of primitives (or points, if Attributes is set to Point attributes), or the name of a group, to assign the material to. |
|
Material |
The path of the material to assign. Click the
|
|
Overrides use local variables |
Turn this on if:
|
|
Local parameters |
Controls the number of local overrides of parameters on the material. This lets you make local changes to the parameters of the material that only apply to the selected primitives. To set up an override:
To remove an override, click the
|
Usages in other examples
| Example name | Example for | |
|---|---|---|
| AtmosphereShader | ||
| TangentNormalMapExample |
Poly Frame surface node |
|
| SoftRotate |
UV Transform surface node |
|
| VisibilityCheckers |
Visibility surface node |
|
| CurveTexturing |
Attrib Create surface node |
|
| ProjectionTypes |
UV Project surface node |
|
| MultiTexture |
Layer surface node |
|
| PointNormals |
Point surface node |
|
| BasicRest |
Rest Position surface node |
|
| FurTextureMap |
Fur surface node |
|
| ConvToTrimSurface |
Convert surface node |
|
| ExtrudeFont |
Extrude surface node |
|
| BlendTexture |
Sequence Blend surface node |
|
| PasteNose |
Paste surface node |
|
| RaytraceVopShader |
Ray Trace VEX node |
|
| TorqueIFL |
Torque render node |
|
| TorqueUV |
Torque render node |
|
| TorqueVisAnim |
Torque render node |
|
| TorqueLOD |
Torque render node |
|
| TorqueReflectanceMap |
Torque render node |
|
| TorqueMorph |
Torque render node |
|
| TorqueDetailMap |
Torque render node |