linearly v0.32.0 • Docs
linearly v0.32.0 / vec2 / inverseLerp
Function: inverseLerp()
inverseLerp(
a
,b
,t
):vec2
Returns the amount to mix min
and max
to generate the input value t
. This is the inverse of the lerp
function. If min
and max
are equal, the mixing value is 0.5
.
Parameters
• a: vec2
• b: vec2
• t: vec2
Returns
See
- https://docs.unity3d.com/Packages/com.unity.shadergraph@6.9/manual/Inverse-Lerp-Node.html
- https://www.sidefx.com/docs/houdini/vex/functions/invlerp.html