Jump to content

Different material on an instance


hopbin9

Recommended Posts

Hi,

How can I apply a different material on an instance of an object. The manual talks about overriding properties, but doesn't seem to give an example.

I have two materials in my SHOP. Both objects are rendering with the first assigned to the source object. The instance, I can't seem to figure out how to apply the other material.

Thanks,

Link to comment
Share on other sites

As always in Houdini is all about wrangling attributes. See example for varying materials per instance. As Luke mentioned quite often you want to apply one material for all instances and vary only attributes of that. I's usually more efficient approach, then sending a number of materials to ifd file.

hth,

skk.

instance_mat.hipnc.zip

Edited by SYmek
Link to comment
Share on other sites

I have to do both cases actually.

The object is a television set, and there are many sets each showing a different texture file, but there are two different colored styles of TVs. They are all the same geometry.

So I'm instancing them but they all have the same image and are the same color.

Thanks for the example file. I think I get how you did it, but will this only work with point instancing?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...