ABSTRACT

A set of step functions provide a variety of controlled transitions: step is a sharp transition, equivalent to that achieved by an if statement; filterstep is a smooth blended transition across the current surface sample size-step without the aliasing problems; and smoothstep gives a smooth transition over a user-defined interval. These are often used in connection with the mix function, which returns a weighted blend of its arguments.