Start learning with our library of video tutorials taught by experts. Get started

Lighting and Rendering with mental ray in Maya
Illustration by John Hersey

Setting render layer overrides


From:

Lighting and Rendering with mental ray in Maya

with Eric Keller

Video: Setting render layer overrides

Maya uses render layer overrides to separate different scene elements from one render layer to the next so that when you render using render layers, one render layer - an object such as the room geometry - can appear different than it does on another render layer. So, for example, in this scene I have my room geometry, and it is textured and lit. That's the way that it appears here on the roomLit_RL layer. And then on another render layer, such as the volumeLight_RL - I am going to turn on Shading > Wireframe on Shaded, so you can see the geometry is actually here, on this layer, I have applied a black surface shader to the geometry, and that's a type of render layer override.
Expand all | Collapse all
  1. 3m 46s
    1. Welcome
      1m 32s
    2. Using the exercise files
      2m 14s
  2. 19m 8s
    1. What is a CG light?
      1m 22s
    2. Types of CG lights
      10m 55s
    3. Direct lighting
      4m 48s
    4. Indirect lighting
      2m 3s
  3. 53m 20s
    1. Decay rate
      6m 30s
    2. Previewing lighting and shadows
      2m 37s
    3. Creating depth map shadows
      1m 57s
    4. Troubleshooting depth map shadows
      2m 38s
    5. Shadow map overrides
      5m 30s
    6. Using the shadow map camera
      5m 31s
    7. Saving and reusing shadow maps
      2m 48s
    8. Creating raytraced shadows
      1m 56s
    9. Adding softness to raytraced shadows
      3m 42s
    10. Creating area light shadows
      5m 11s
    11. Sample: mental ray area light
      4m 23s
    12. Setting area light visibility
      8m 7s
    13. Creating soft shadows with spot lights
      2m 30s
  4. 43m 35s
    1. Setting global illumination for interiors
      2m 33s
    2. Tuning global illumination
      5m 56s
    3. Global illumination photons
      1m 12s
    4. Activating caustic light effects
      3m 28s
    5. Tuning caustic settings
      3m 35s
    6. Setting caustic light effects on metal
      2m 35s
    7. Using final gathering for indirect lighting
      2m 9s
    8. Tuning final gathering
      4m 2s
    9. Reusing final gathering maps
      3m 21s
    10. Adding light with shaders
      5m 27s
    11. Creating final gathering maps for animation
      4m 26s
    12. Combining final gathering with global illumination
      4m 51s
  5. 1h 2m
    1. Activating the Physical Sun and Sky network
      2m 33s
    2. Tuning the Physical Sun and Sky settings
      7m 18s
    3. Applying physical light shaders
      8m 54s
    4. Applying image-based lighting
      8m 57s
    5. Tone mapping
      6m 23s
    6. Applying portal light shaders
      7m 45s
    7. Creating light beams with participating media
      10m 9s
    8. Adding depth of field with the Bokeh lens shader
      10m 39s
  6. 48m 21s
    1. Introducing render layers
      6m 13s
    2. Creating render layers
      4m 28s
    3. Splitting a scene into render layers
      15m 36s
    4. Applying render layer presets
      7m 47s
    5. Setting render layer overrides
      7m 7s
    6. Creating render layer composites
      3m 52s
    7. Organizing renders with tokens
      3m 18s
  7. 42m 24s
    1. Introducing render passes
      2m 56s
    2. Comparing render passes and render layers
      6m 44s
    3. Editing render passes
      10m 41s
    4. Using appropriate materials
      5m 51s
    5. Batch-rendering passes
      5m 56s
    6. Compositing in After Effects
      6m 41s
    7. Rendering the EXR image format
      3m 35s
  8. 23m 3s
    1. Anti-Aliasing Quality
      6m 44s
    2. Setting color profiles
      2m 53s
    3. Diagnosing raytracing
      5m 7s
    4. Adjusting motion blur
      6m 57s
    5. Finding mental ray help
      1m 22s
  9. 21s
    1. Goodbye
      21s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
Lighting and Rendering with mental ray in Maya
4h 56m Intermediate Jul 22, 2010

Viewers: in countries Watching now:

Lighting and Rendering with mental ray in Maya with Eric Keller shows how to master practical mental ray techniques for rendering models created in Maya. This course walks through the most efficient and innovative mental ray techniques, including direct versus indirect lighting methods, creating different types of shadows, using the new ShadowMap camera, and reusing shadow and final gathering maps. A chapter on optimizing render times and enhancing render quality is also included. Exercise files are included with the course.

Topics include:
  • Understanding computer-generated lighting
  • Creating depth map and ray traced shadows
  • Softening and shaping shadows
  • Working with global illumination
  • Lighting with the caustic settings
  • Applying physical and portal shaders
  • Adding depth of field with the Bokeh shader
  • Splitting a scene into render layers
  • Comparing render passes and render layers
Subjects:
3D + Animation Rendering Photography Lighting
Software:
Maya
Author:
Eric Keller

Setting render layer overrides

Maya uses render layer overrides to separate different scene elements from one render layer to the next so that when you render using render layers, one render layer - an object such as the room geometry - can appear different than it does on another render layer. So, for example, in this scene I have my room geometry, and it is textured and lit. That's the way that it appears here on the roomLit_RL layer. And then on another render layer, such as the volumeLight_RL - I am going to turn on Shading > Wireframe on Shaded, so you can see the geometry is actually here, on this layer, I have applied a black surface shader to the geometry, and that's a type of render layer override.

It's a material override. In other words, the material on the geometry of the room is different on the volumeLight_RL render layer than it is on the roomLit_RL render layer. That's just one example of a type of override. Same with Color Mask. I have a red surface shader applied and to the room geometry, blue surface shader applied to the lampshade. If I turn off Wireframe on Shaded, you can see I have green material applied to the globes of the chandelier. So these are all material overrides.

In some cases, overrides are applied automatically to render layers when you change something. For example, if I select the room geometry on this render layer and press Ctrl+H, it's going to hide the room geometry on this render layer. But it will be visible on another one such as roomLit_RL. So that's a type override, as well. I am going to switch back to the colorMask_RL, select the roomGeometry in the Outliner and press Shift+H to unhide it again. I will show an example of another type of render layer.

For instance, on the colorMask_RL, I don't actually need mental ray to render this; it's kind of overkill. I could render it with Maya Software. So I can create a type of override that says, render this layer with Maya software and render the other ones with mental ray. So to do this, I'll select the colorMask_ RL in the Render Layer Editor, and I'll click in this little Clapboard icon, and this pulls up the Render Settings. And as you can see in the Render Settings, I have a Render Layer menu, which lists all the different render layers. And I could switch from one render layer to another in the Render Settings just by choosing one of these.

But I'll stick on colorMask. So to create an override, I'll just right-click over Render Using and choose Create Layer Override. And you'll see that this lettering turns orange, indicating that a render layer override has been applied to this attribute for this render layer. So I'll set this to Maya Software. So now this render layer, colorMask_RL, is set to Maya Software. So if I switch to another one, such as the roomLit_RL render layer, see there is no override here, and it's set to mental ray.

When I created the AO_RL render layer, the Ambient Occlusion render layer I used a preset. And when I did that, it automatically set a override to use mental ray. The other layers are already using mental ray, but this is just an automatic feature of using a preset. If I switch to Quality, I could create an override so that the quality on one render layer is different than another. And an example of this is when I applied the Ambient Occlusion Render Layer preset to this layer, it did in fact do that. You can see these letters in orange here.

These indicate that an override has been applied to those attributes. So I'll show you another quick example. I am going to go to the roomLit_RL render layer. And when I originally rendered this, if I pull up my Render view, and I'll scroll to - you can see right here this is the roomLit_RL render layer. This is the render that it's created. One thing about this render that this is a little strange is that the fact that it's dark outside here, but you can clearly see light is pooling up on the ground.

So I could create a quick render layer override to fix that, and I could apply that to the camera. So I'll select a renderCam camera and open its Attribute Editor, and I'm going to scroll down here to the Environment tab. I am going to right-click over this Background Color and choose Create Layer Override. This turns orange, indicating an override has been applied, and now I'll just move this up to maybe a very light gray.

And now when I - I'll store this image, create a render - you'll see that that background color has been applied to the camera in the render layer to create a light color outside, but not to anything else. And of course, it would help if I rendered from the right camera. Let me escape there and do a Render > renderCam. There we go. By default, if you don't do that it will render from the Perspective view, so you'll get something strange. As this is rendering, you can see now I have a light gray color outside the room. And it starts to look a little bit more natural.

All right, so we can see our render here. Now that I have applied that render layer override, we have a nice background color here. It's starting to look more like a scene of a room in an overcast day. So we can see the light coming through here and reflected on the floor as well. So it's starting to look a little more realistic. I'll store that. So what can you apply render layer overrides to? Almost anything that affects the rendering of the image. In other words, you can't apply it to something like the way a character is animated from one layer to another, but certainly the way that character looks, things like the intensity of a light, the reflectivity of a particular shader.

If I select, for instance, this table and go to the tableShader tab, if I wanted to change the Eccentricity of this Specular Highlight on one render layer and have it different from another, all I need to do is create a render layer override, so this turns orange, and change its value, and now it will appear differently on this render layer than another. So that makes it convenient because then you can create variations of your different objects form one render layer to another. And you'll also notice that in some cases if you create a render layer and start to adjust an attribute or turn something on or off, in particular something like visibility, so if I select for instance the room here, and I can get rid of some of these tabs by deleting history on this, Delete by Type > History.

So now we have fewer tabs to deal with. For instance, sometimes overrides will be applied automatically. If I am on a render layer, so currently I am on the roomLit_RL render layer, if I switch to the Attribute Editor and start to change these, you are going to see that it's just turning orange. So in this case, Maya is just assuming I want an override for these attributes. So in some cases you'll see those things turn on automatically. But most anything can be turned into a render layer override. You can see that's one of the most powerful aspects of using render layers is the ability to create variation, to turn things on and off, to create different versions for render layers, or to separate for easy compositing.

There are currently no FAQs about Lighting and Rendering with mental ray in Maya.

 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

join now Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Lighting and Rendering with mental ray in Maya.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Notes cannot be added for locked videos.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.