Different colors on different materials with same Arnold Material applied?

Different colors on different materials with same Arnold Material applied?

g2m.agent
Collaborator Collaborator
2,892 Views
4 Replies
Message 1 of 5

Different colors on different materials with same Arnold Material applied?

g2m.agent
Collaborator
Collaborator
This is a very basic question, but I really can't find any answer to this..

I have a lot of objects that have the same Arnold toon shader applied to them and I only want to change the color for each object without having to make a new material for each of them. With normal C4D Materials you can just set the color input to "display color" in the material tab and choose the color you like in the objects "Basic> Display Color" setting from the object manager. Arnold's materials don't have the "display color" option though. Is there any way to achieve this? Creating 200 different materials just for different colors is kind of a pain...

This is a question from the Arnold C4D forum and has been answered.

My question is how to do this in Maya?

0 Likes
Accepted solutions (1)
2,893 Views
4 Replies
Replies (4)
Message 2 of 5

Stephen.Blair
Community Manager
Community Manager
Accepted solution

Use the color jitter shader.



// Stephen Blair
// Arnold Renderer Support
0 Likes
Message 3 of 5

g2m.agent
Collaborator
Collaborator

It is a random color and there are repetitions. The problems mentioned above are two different things.

0 Likes
Message 4 of 5

g2m.agent
Collaborator
Collaborator

you're right

0 Likes
Message 5 of 5

g2m.agent
Collaborator
Collaborator

I found that aiColorJitter did not solve my problem 100%.


This is my scene:
Multiple cubes have vertex colors and multiple "colorSet". I connected one of them to the Arnold shader as shown below.
pCubeShape.currentColorSet -> aiUserDataColor -> aiColorJitter -> aiStandardSurface.baseColor

 

maya_pYVZq0hrN7.pngmaya_c4qQBzG9rN.png


This can indeed show the vertex color of each cube. But when the first cube (that is, the cube connected to aiUserDataColor) switches the "colorSet", the others also switch. And other cubes must have the same "colorSet" name.

 

maya_A3LohjlEVC.pngmaya_CRspAYqvV5.png


Is there a way to switch "colorSet" independently for each cube?

0 Likes