Download

Lerping between more than 2 values

how would i go about lerping between 3 textures, one at 0 one at 0.5 and one at 1

Weighted average, maybe?


(ColorA * AlphaA + ColorB * AlphaB + ColorC * AlphaC) / (AlphaA + AlphaB + AlphaC)