11/10/16

Maya / Vray _ random color for all objects

"- add extra vray attributes to a samplerInfo node (this will expose additional outputs to the samplerInfo)
- connect the samplerInfo.vrayRndomByID to a ramp's vCoord (if you're using a vRamp) OR uCoord (for a uRamp) | or both, if you intend to switch between ramp modes
--> the ramp's position and color values will be the range of colors to be distributed to the objects
--> plug the ramp into a shader and use the same shader on lots of objects"

source

2 comments:

  1. Thanks for the tips buddy but there is no VrayRandomByID in the extra attribute of the sampler.info.

    Can you make a screen? I cannot find it.

    ReplyDelete
  2. You're welcome.
    If you don't see the option it might be because you're using an older version of V-ray.
    This option only exists in recent version.

    ReplyDelete