Lerp

Blends the module A and the module B using a linear interpolation.

Alpha value will choose the output value. If the alpha value is 0, module A value will be selected. If the alpha value is 1, module B will be selected. A value of 0.5 means half of the module A value and half of the module B value.

Alpha ranges from 0 to 1.

Node inputs/outputs

The module constructor needs:

The output value is a Generation Module

Examples

Lerp a checkerboard and a sine with alpha value = 0.2 

Lerp a checkerboard and a sine with alpha value = 0.5

Lerp a checkerboard and a sine with alpha value = 0.8