YOUR ACCOUNT

Lerp

The Lerp component calculates the channel-wise linear interpolation between two colors supplied by the Source A and Source B inputs. The interpolation quotient is supplied by the Factor input. The alpha channel is interpolated the same way as the other color channels.

Lerp vs. Blend

Lerp is a map component, it can be located in the RGB Math category on the Components Bar. This component can output HDR colors. Like other RGB Math components, this component processes its inputs on a channel-wise basis, treating RGB channel values as signed floating-point numbers. For more information, see How Math Components Work.

Source A: Map Input (HDR)

Provides the first source color. This input can accept HDR colors.

Source B: Map Input (HDR)

Provides the second source color. This input can accept HDR colors.

Factor: Map Input

Specifies the interpolation factor. The value of 0 outputs the Source A color unchanged, and the value of 100 outputs the Source B color unchanged. Since Factor is a map input, its value can be controlled separately for different image areas by connecting a map component to this input.