Creating array of colors with lerpColor

When we use only int in a formula processing assumes we want int as a result. Bad.

write float step = 1.0f/(num-2)

1 Like