- Home /
Question by
awplays49 · Mar 07, 2015 at 03:28 PM ·
colorlerpcolor.lerp
lerp transparency back and forth, while cycling through rainbow?
I have a background that cycles through the rainbow… it starts at black, then red, orange, yellow, green, blue, purple, and back to red.
how can i lerp transparency without interrupting the color changing?
i can't lerp the colors with the current colors, so i need to lerp alpha on its own?
Comment
xxx.color.a represents the alpha of xxx variable. So what you need to do is lerping this value. But it doesn't lerp values linearly i must say. So use move towards ins$$anonymous$$d.
Your answer
Follow this Question
Related Questions
Color.Lerp doesn't work 1 Answer
Lerping 2 values on a shader on button press. 1 Answer
Color.lerp not working properly 2 Answers
How do you Lerp light.color into multiple colors? 2 Answers
Lerp Color doesn't work 2 Answers