So the alpha blending algorithm is actually the "same" as the lerp function? We want to use the algorithm give two colors/values different weights.
motoole2
Yes! It's a simple linear interpolation.. at least, this is true for the pre-multiplied case. In the slide above though, the non-premultiplied case is a tad different.
So the alpha blending algorithm is actually the "same" as the lerp function? We want to use the algorithm give two colors/values different weights.
Yes! It's a simple linear interpolation.. at least, this is true for the pre-multiplied case. In the slide above though, the non-premultiplied case is a tad different.