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

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.