Circle Image

Pixaflux

Material Switch node

Left Toolbar > Project icon Project Nodes > Material Switch icon Material Switch

The Material Switch node takes as input multiple materials and returns as output the material defined by the index attribute.

Procedure

To add a Material Switch input or output to a custom node:

  1. On the left toolbar choose Project Nodes Project icon > Material Switch Material Switch icon

  2. Drag the Material Switch icon into the Node Graph.

    Material Switch node

  3. Connect the input: material.

  4. Connect the input: material.
  5. Connect the Output: material.

Inputs

material

The material value that will be received by the custom node's node graph as input. Material Switch nodes that have connected outputs are used by the Node Graph node as inputs in the custom node.

Outputs

material

The material value that will be returned by the custom node's node graph as output Material Switch nodes that have no connected outputs are used by the Node Graph node as outputs in the custom node.

Attributes Panel

Material Switch attributes

Index

material that will be returned as output.

Project Nodes

Main Page