Lighting up lines

Hi,

In my current project, i have a simple circle with nodes like in the following image(sketch image just to throw here):

and i would like to be able to light up these nodes, like this:

even though i may just create sprites that simulate the light and put them in place, i was thinking if unity has any solution for this effect!

maybe using the circle as mask and putting some sort of light behid? not sure.

my may concern is that i may want to animate the “light up”, that can still be done with sprites but i’m looking for possible solutions.

any ideias?

First thing that comes to mind is using LineRenderer. For each point you add in the line renderer, you can set a color key in the gradient. You could use multiple line renderers setup in the editor, and toggle them on and off at runtime.


Depending on the animation you’re trying to achieve, a masked option may be more visually flexible for animation.