Redshift Material Applied to Different Unconnected Islands

   487   1   1
User Avatar
Member
29 posts
Joined: June 2021
Offline
Hi All! I'm very new to Houdini (from c4d/Redshift). Also, my first post to the SideFX forums.

I'd like to use the RS Integer User Data (or other User node) to vary textures or material parameters to an connected set of primitives within an object of a few such connected islands.

I'd appreciate suggestions possibly easier than my current plan: My current plan is to extract each connected island into a new object, create an attribute with a unique integer value for each new object. When creating the RS material then use the Integer User Data node to access that attribute and drive the variation (e.g., driving the Jitter node to produce unique color per object).

Thanks!

Greg
User Avatar
Member
162 posts
Joined: Nov. 2016
Offline
Hi Greg!

Yes you can do something similar to the approach that you mentioned but (unless you want to use Cryptomatte), you don't need to separate your islands in multiple objects/geometry containers.

Check this example:



You can also check the file below.

Hope that helps, cheers!

Attachments:
int user data.hiplc (289.6 KB)

  • Quick Links