Announcement

Collapse
No announcement yet.

Render Layer With Matting

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

  • Render Layer With Matting

    Hey All,

    I'm trying to render an object that had improper textures in my first pass. This part intersects with other geometry and I would like to get it out alone as the entire render takes a while.

    In an alternate scenario to do this I'd add a surface shader to all the other pieces set it to black, and then render the object as normal.

    I'm doing this same concept with a VRay Light MTL set to black as well as the color multiplier set to 0. Unfortunately nothing renders but the black-ed out part and not the geometry, has anyone experienced this before?

    I have been re-rendering scenes as full because I can't seem to get this to work.

    Thank You

    -Patrick

  • #2
    Hmm, well vray works with surface shader just the same.

    But, this is not what you need to do. The absolute correct way is to make 2 vray object properties sets for your objects - 1 (new object to be rendered), - 2 (other objects).

    For the beauty layer of the object 1, you need to set the objects 2 as prime vis off (so they cast shadows and are visible to reflection if your obj 1 is reflective)

    For the matte layer, you need to render object 1 as green and objects 2 as red.

    In comp you can use the green as object 1's beauty alpha and key that in over the improper object.

    Alternatively you can use object's 2 set and check matte/ alpha contribution -1 and the other objects will cutout obj 1 and it will render correctly, however I am concerned that you may get an edge where they overlay. So method described above is better for that.
    Dmitry Vinnik
    Silhouette Images Inc.
    ShowReel:
    https://www.youtube.com/watch?v=qxSJlvSwAhA
    https://www.linkedin.com/in/dmitry-v...-identity-name

    Comment

    Working...
    X