mirror of
https://github.com/Relintai/material-maker.git
synced 2024-12-23 21:16:54 +01:00
fc3173b9b4
This results in less merge conflicts when using the Text Editor > Files > Trim Trailing Whitespace editor setting. .ptex, .mmg and .json files generated weren't modified as these are saved by Material Maker. These files could be made to end with a newline automatically on save in a future commit.
26 lines
611 B
ReStructuredText
26 lines
611 B
ReStructuredText
Switch node
|
|
~~~~~~~~~~~
|
|
|
|
The Switch node can be used to select sources for 2 output textures
|
|
A and B from a choice of 2 pairs (A1, B1) and (A2, B2). It is useful
|
|
to create variations of a material and easily switch between them.
|
|
|
|
.. image:: images/node_switch.png
|
|
|
|
Inputs
|
|
++++++
|
|
|
|
The Switch node has 4 color inputs A1, B1, A2 and B2.
|
|
|
|
Outputs
|
|
+++++++
|
|
|
|
The Switch node has 2 outputs A and B.
|
|
|
|
Parameters
|
|
++++++++++
|
|
|
|
The Switch node has a single parameter whose value can be 1 or 2.
|
|
When the parameter is set to 1, A forwards A1 and B forwards B1.
|
|
When the parameter is set to 2, A forwards A2 and B forwards B2.
|