1
$\begingroup$

I have made some lights here using a texture with dots and a transparent background. As you can see in the image, the switch to turn them on or off is the Fac value in the mix shader. This works just as I want, but now I also want to be able to switch the emission on from bottom up in an animation over time. How can I implement this?

Thanks in advance. enter image description here

$\endgroup$

1 Answer 1

2
$\begingroup$

you can get this:

enter image description here

by this node setup:

enter image description here

Just change the threshold to see the effect.

Blend file:

if you add one more math node...

enter image description here

you get:

enter image description here

my personal favorite: ;)

enter image description here

enter image description here

$\endgroup$
3
  • $\begingroup$ You can probably also clamp it somewhere to only light up whole dots (to mimic actual light bulbs turning on/off) $\endgroup$
    – Luciano
    Jul 29, 2021 at 14:37
  • 1
    $\begingroup$ I am sure - but I like it more that way 🤗 $\endgroup$
    – Chris
    Jul 29, 2021 at 14:43
  • $\begingroup$ sure - different effects for different purposes :) $\endgroup$
    – Luciano
    Jul 30, 2021 at 8:06

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .