Smooth Step
PureSmoothStepHermite interpolation between 0 and 1 when X is between Edge0 and Edge1. Smoother than a linear lerp.
Type: Pure (no side effects)
Category: Fortuna|Math & Numeric
Keywords: math & numeric
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| Edge0 | float | — | Edge0 parameter |
| Edge1 | float | — | Edge1 parameter |
| X | float | — | X parameter |
Outputs
| Name | Type | Description |
|---|---|---|
| ReturnValue | float | ReturnValue output |
Example Use Cases
Example 1
Smoothly fade audio volume based on distance.
Example 2
Gradual fog density transition.