Smooth Step

Pure
SmoothStep

Hermite 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

NameTypeDefaultDescription
Edge0floatEdge0 parameter
Edge1floatEdge1 parameter
XfloatX parameter

Outputs

NameTypeDescription
ReturnValuefloatReturnValue output

Example Use Cases

Example 1

Smoothly fade audio volume based on distance.

Example 2

Gradual fog density transition.