
The If node
When to use it
Picks one of two inputs from a Condition, treating anything at or above 0.5 as true.
It fits when the condition is already a mask, from a Compare or a thresholded noise. Branch does the comparison and the choice in one node. Select does the same thing with a soft blend.
A hard switch between two fields leaves a discontinuity at the boundary, and the mesher renders that as a step you never modelled.
Pins
| Pin | Type | Description |
|---|---|---|
True |
Number | Passed through when Condition is 0.5 or more. |
False |
Number | Passed through when Condition is under 0.5. |
Condition |
Number | The 0-or-1 value that picks a side. |
| Pin | Type | Description |
|---|---|---|
Result |
Number | Whichever of True and False got picked. |
Available in Mesh Morpher Graph and Mesh Morpher Studio.