Announcement

Collapse
No announcement yet.

Lerping between more than 2 values

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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

    #2
    Weighted average, maybe?
    Code:
    (ColorA * AlphaA + ColorB * AlphaB + ColorC * AlphaC) / (AlphaA + AlphaB + AlphaC)

    Comment

    Working...
    X