2
$\begingroup$

I need a cycles material that has two colors, say red and blue. This material is assigned to many objects. While animating, only one random object can be red at a time, the rest must be blue. How would I go about doing this?

$\endgroup$

1 Answer 1

2
$\begingroup$

Use the pass index (= Object Index in Object Info Node) to mix the shaders. You can animate it if the blue object should change over time.

enter image description here enter image description here enter image description here

$\endgroup$

You must log in to answer this question.

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