0
$\begingroup$

I have a single vertex using a modifier array with area lights parented to it. I'm animating the light colors to change over time based on their position within the world.

This is working but the gradient shape gets squeezed as I approach the max value. I want it to evenly pass over the lights based on their positions, can't figure out my math!

enter image description here

enter image description here

$\endgroup$
3
  • $\begingroup$ If you want it to spread even, first of all: why do you set the Color Ramp interpolation to Ease? If you want it even, set it to Linear. The next thing is: you multiply the Z value. The Color Ramp converts input values from 0 to 1. The Generated output creates Z values from 0 to 1. If you multiply these by let's say 0.1, the Z values range from 0 to 0.1, which means they never reach the end of the Color Ramp because that's 1. $\endgroup$ Jul 12, 2022 at 9:04
  • $\begingroup$ Thank you! How do I mark this as the correct answer? $\endgroup$
    – Black Fox
    Aug 19, 2022 at 23:18
  • $\begingroup$ You cannot accept this as answer, because it is just a comment. $\endgroup$ Aug 20, 2022 at 7:23

0

You must log in to answer this question.

Browse other questions tagged .