How can I create a material instance with the instancer in animation nodes?
I have animation nodes creating instances of an object. I change their position based on which object they are, which works fine, because each object has its own position information.
However, I am changing the colour of the object, based on which object it is. This does not work, because it only creates an instance of the object, not the material. therefore, the colour ends up being whatever the colour of the last object was (the last value in the line to be changed to).
Here is an illustration of what I am doing. Can anyone help?
Edit: There was an answer for this instance, but if anyone knows how to create a material instance with animation nodes, please share. Thanks!