Skip to content

Lerp

Lerp
Result
From
Black
To
White
Time
0.5

Category Color
Is Pair Node: No


Creates a linear interpolation between two colors based on a specified time factor. The "From" color is the starting point, the "To" color is the endpoint, and the "Time" factor determines how far along the interpolation is. A value of 0 for "Time" will return the "From" color, a value of 1 will return the "To" color, and values in between will return a mix of both colors.


Type: Color
Default: Black

Source color to start the interpolation from.

Type: Color
Default: White

Destination color to interpolate towards.

Type: Double
Default: 0.5

Interpolation factor between the two colors. A value of 0 will return the "From" color, a value of 1 will return the "To" color, and a value of 0.5 will return a mix of both colors.


Type: Color
Default: Lerp

Resulting color after interpolation between the "From" and "To" colors based on the "Time" factor.