Studio and Graph › Voxel › Math
Smooth Step
An S-curve ramp. 0 below Edge0, 1 above Edge1, smooth in between.

The Smooth Step node
When to use it
An S-curve ramp. 0 below Edge0, 1 above Edge1, smooth in between.
The standard way to turn any value into a soft mask, and better than Compare for anything that ends up visible, because the slope is continuous at both ends instead of jumping.
Putting Edge0 above Edge1 works and inverts the ramp, which saves a node when you want the mask the other way round.
Pins
| Pin | Type | Description |
|---|---|---|
Edge0 |
Number | Below this the answer is 0. |
Edge1 |
Number | Above this the answer is 1. |
Input |
Number | The number to work on. |
| Pin | Type | Description |
|---|---|---|
Result |
Number | The answer. |
Available in Mesh Morpher Graph and Mesh Morpher Studio.