3
$\begingroup$

Can I use Numbers List to cycles materialoutput node in animation nodes? I want to use numbers list to many objects which I made in Object Instancer node.enter image description hereenter image description here

$\endgroup$
2
  • $\begingroup$ Hi, could you had a few screenshots of your setup or more information ? $\endgroup$
    – Gorgious
    Mar 2, 2020 at 16:36
  • $\begingroup$ Hi,I added two pictures. $\endgroup$
    – KaraC
    Mar 3, 2020 at 0:24

1 Answer 1

3
$\begingroup$

As stated in https://blender.stackexchange.com/a/168589/86891, you have to access a specific object's property in order to change each individual object if they share the same material. Each object has a few specific properties : Render pass index, viewport color, etc.

But you don't have to use the Animation Nodes for this since the shader nodes contains a "Random" -per object info which will act exactly as what you want to achieve.

enter image description here

However if you really want to use AN, use this setup in your shader :

enter image description here

And in your AN tree :

enter image description here

$\endgroup$
1
  • 1
    $\begingroup$ WOW!That's great idea ! Thank you. $\endgroup$
    – KaraC
    Mar 3, 2020 at 9:28

You must log in to answer this question.

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