Jump to content

Switch material based on ROP per Object

Recommended Posts


I am looking for a way to recreate a maya reflection occlusion setup in Houdini.
I am however unable to figure out how to switch a material on object level based on the active rop. (object level, so not the entire scene has the same material.)



This did not work and neither did adding ==1


If there is a way to leverage this And have it automatically render both setups as wel as allowing me to use 0 -1 value that whould b probably b the most usefull way.


Any help is appreciated.


Edited by Drunkenpanda

Share this post

Link to post
Share on other sites

We generally just duplicate the object ( or objmerge it into another geo node ), put a different shader on it and use that in the other rop. I suppose you could also set two different OUT nodes in each rop, but I've never bothered 

Screen Shot 2022-02-27 at 3.04.55 PM.png

Screen Shot 2022-02-27 at 3.10.01 PM.png

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now