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: 

How to override shader array with "Set Parameter" ROP?

1 REPLY 1
SOLVED
Reply
Message 1 of 2
ppiche
262 Views, 1 Reply

How to override shader array with "Set Parameter" ROP?

I have a polymesh with this shader line in .ass

shader 3 1 NODE"/shop/materia/eye/SurfaceShader/AOVS" "/shop/Squid_matlib_midres/organs/SurfaceShader/AOVS"  "/shop/Squid_matlib_midres/organs/SurfaceShader/AOVS"

how can we override shaders in this case with the Set Parameter node?

--------------------

Thanks Stephan,

I just figured out and used this way.

selection:

*.(shader[0] == '*body*')

assignment:

shader[0] = '/shop/body_orange/standard_orange'

2172-set-paramter.jpg

1 REPLY 1
Message 2 of 2
Stephen.Blair
in reply to: ppiche

You can override the shader array elements one at a time:

shader[0] = "shader223"


// Stephen Blair
// Arnold Renderer Support

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

Post to forums  

Autodesk Design & Make Report