The Multi-Switcher nodes allow for switching between multiple inputs depending on an index value.
You can add as many inputs as you'd like to by connecting outputs to the new input. The name of the created input is the same as the input it's been connected to.
While there are only three nodes for different connection types, they are compatible with other connection types as well.
The Scalar node can also be used for integer connections.
The Vector node can also be used for colour connections.
This defines which of the inputs is being used to compute the output. Usually the index is driven by a value connected to the nodal index input.
If enabled, indices that result in a value between two inputs will not pick the first respective input, but interpolate between this and the next input value.
This defines how the Index is interpreted.
This defines how the index is interpreted if it's below zero.
This defines how the index is interpreted if it's above 1 or above the number of inputs (Depending on the Relative/Absolute switch).
Renaming an input will not show the change in the node editor until you click in the node editor to force a refresh. This is an issue with LW that's also present in native nodes, such as the Compound Node.
We'd like to thank Antti Järvelä from the LightWave 3D development team for helping with the code to mix materials.
This is the plugin of the month for April 2019, made possible by the finest patrons on Patreon.