mix, clamp, step, smoothstep - glsl

mix

return the linear interpolation value from range
mix(x, y, n)

clamp

return value by defined min and max range
clamp(n, min, max)

step

return value 0 or 1 by the defined edge value
step(edge, n)

smoothstep

return linear interpolation value from defined range, the out range would return 0 or 1
smoothstep(a, b, n)