Announcement

Collapse
No announcement yet.

How to create many custom rgb texture per object in the same render layer. (Arnold AiWriteColor equivalent)

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to create many custom rgb texture per object in the same render layer. (Arnold AiWriteColor equivalent)

    Hello,

    ​​​​​​I'm looking for a way to get many custom RGB texture AOV's in the same render layer.
    I found the material ID attribute, and it's seem to work fine. I have another texture RGB in my material ID AOV but just for one rgb texture. I saw that we can create many material ID AOV in the render elements tab but just one material ID attributes on my shader. Somebody knows how can I make in order to obtain this result?
    For example, If the characters bodies are a single mesh, I want one AOV, named 'bodyMask" with a texture on each characters bodies in the scene in order to drive the color of legs in blue, arms in red, etc...And one another AOV named headMask etc....
    For Arnold, the way is AiWriteColor in the shader of each object with the same custom AOV name.

    Thank you

    Best regards,

    Ed

  • #2
    You can probably use the Extra Tex render element to extract the various masks to separate render elements. The textures themselves do not need to be present in the actual shading tree on the object.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      Hello Vlado,

      Perfect, it's work fine with an VRayMultiSubTex in the Extra_Tex AOV and one VRayUserAttributes, I have 1 differente texture for each character at screen.
      Thank you.

      Best regards,

      Ed

      Comment

      Working...
      X