In addition to the existing render passes, you can add additional passes as needed. In this video, learn how to set up a matte pass so that objects will appear to be matted against the background.
- [Male Instructor] We now have our render passes set up and if we look in our rendering state sets window, you'll see we have a hero pass, ambient occlusion, reflect and select. Now these are the same render passes we used before Now if we want to, we can add additional render passes Now one of the passes I use a lot is called a matte pass. And this puts a matte black material on objects in the scene and it makes them very easy to select and composite. So let's go ahead and create one of those just to show you how they work. So I'm going to go into state sets, we're going to hit the plus sign here, create a new state, and we're going to rename that Matte. So I'm going to go to my material editor. We're going to find an empty slot here. And I'm going to turn that material Now I'm going to give this a new name. Let's just call this matte. And now let's apply it to the building in the scene. Now in this particular scene, I want to matte out the building and the foreground, but I want to leave these trees alone, because they're already kind of a silhouette and I don't need to matte them out. So I'm going to select basically everything in the middle of the scene. Now I will get these two large flats, to get rid of those. And then we want to make sure that we have our record set on our state set, in this case matte. So we want to make sure record is pressed. Now this material looks like it's kind of a light gray. But it really isn't. If I turn off record here, so I can select that, along with the trees here, which are almost silhouetted anyways, and so this will allow me to use this as a composite. So I can, for example, get this sky out of the scene and replace it if I wanted to. So now that I have that, let's go ahead and set up our rendering options here. So I'm going to turn on my record again. And we want to scroll down here under the common tab, and we want to give this a new name. So I'm going to go into files, and we're going to call this light_matte and I'm going to save it as a tif file. And in this case, I'll just save it as an eight bit tif. we want to knock down the render time, basically to about a minute. Because really, there's not much to render here. Now once we have this, we can turn off record, and that state set or that render pass is ready to go.
- Setting up V-Ray
- Setting up environmental lighting
- Adding sunlight to a scene
- Rendering a hero pass
- Creating reflection and selection passes
- Adding ambient occlusion
- Lighting for night
- Setting up a matte pass
- Adjusting light, shadow, and reflections