math docs
    Preparing search index...

    Function smootherstep

    • Ken Perlin's smootherstep, like smoothstep but with zero slope and curvature at both edges. Same curve as fade, clamped outside the edges. Equal edges act as a step at edge0.

      https://en.wikipedia.org/wiki/Smoothstep#Variations

      Parameters

      • edge0: number
      • edge1: number
      • x: number

      Returns number