Community
Arnold for Houdini Forum
Rendering with Arnold in Houdini and Solaris using the HtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Varying colors of procedurals

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
madiclutcher
268 Views, 4 Replies

Varying colors of procedurals

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.

Labels (3)
4 REPLIES 4
Message 2 of 5
madiclutcher
in reply to: madiclutcher

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.

Message 3 of 5
madsd
in reply to: madiclutcher

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.

Message 4 of 5
madiclutcher
in reply to: madsd

Thank you! I will try something similar to this.

Message 5 of 5
lee_griggs
in reply to: madiclutcher

You could also use the set_parameter operator to change the shader in the procedural. Tutorial here.

Lee Griggs
Arnold rendering specialist
AUTODESK

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report