From the course: Learning V-Ray for Maya

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

The Multi Matte render element

The Multi Matte render element - Maya Tutorial

From the course: Learning V-Ray for Maya

Start my 1-month free trial

The Multi Matte render element

In this video, we'll be taking a look at how to add multi-mattes to our VRay Render. What a multi-matte will allow me to do is to take any of my geometry, and allow me control over that geometry in composite, by giving me a matte that will keep each piece as a red, a green, or a blue matte. To do so, I will first need to make sure that my object has an Object ID. Which is an attribute that can be added through the Objects Attribute Editor. Here, I've already created an Object ID, you can see that it's already checked on. And if I take a look in the Shapes Attribute Editor, I'll see there's an extra VRray attributes and roll out. And in here is an Object ID slider that has the object id of of the beach fall set to 1. Take a look at the top node of our catapult here, and we'll see that there is also an object ID, this one's set to 6. Indeed, all of the objects in the scene have an object ID, except for the glass ball that we've created. We'll go ahead and set up that Object ID. Now, all…

Contents