Is it possible to change the colors of the procedurals which already contain shaders?
In Arnold for 3dsMax, it is possible to see the contents of Arnold procedural.
But I can't see any contents tab in Houdini version.
Solved! Go to Solution.
Solved by lee_griggs. Go to Solution.
Nevermind. I figured it out myself.
I just need to create a user data float attribute in the shader and it works with per-instance attributes.
OSL pick instance:
For max at least, we also have something like
getattribute("nodeName", Name); Hash = hash(Name);
This returns the instance ID which can then be shuffled around or whatever.
Its a pritty generic procedure, so it might work for you as well.
You could also use the set_parameter operator to change the shader in the procedural. Tutorial here.