[vc_row bg_color=”#ffffff” text_color=”dark” ][vc_column width=”1/1″ text_align=”left” text_color=”dark”][minti_spacer height=”2″][/vc_column][/vc_row][vc_row bg_color=”#c4c4c4″ top_padding=”5″ bottom_padding=”10″ text_color=”dark” bg_image=”3205″ bg_repeat=”stretch” ][vc_column width=”1/1″ text_align=”left” text_color=”dark”]

Light Types

Maya, Mental Ray: Lighting

[/vc_column][/vc_row][vc_row bg_color=”#000000″ text_color=”dark” ][vc_column width=”1/1″ text_align=”left” text_color=”dark”][/vc_column][/vc_row][vc_row bg_color=”#ededed” top_padding=”30″ bottom_padding=”30″ text_color=”dark” ][vc_column width=”2/3″ text_align=”left” text_color=”dark”][minti_alert type=”info” close=”true”]Please Note that this page is depreciated and is not supported in the C3dC Subscription[/minti_alert]

Understanding how lights work in Mental Ray are fundamental to appealing renders. We’ve 3 main light types which borrow the Maya Light types. Directional for distant lights, sun or moon. Spot Lights for focused light. And area lights that can mimic pretty much everything else. We will also work in linear light which is mandatory for realistic lighting these days. See the tutorials on Linear Light in a previous class.

For each light type it’s important to understand a handfull of settings, how to setup the correct amount of falloff and intensity, how to control shadow blur and sampling. Maya’s area and spot lights can also be converted to Mental Ray Area lights which bring up new list of settings and we want to make sure our lights have been converted to Mental Ray where ever possible. At last we have the portal light which is a modified version of the Mental Ray area light, the portal light is important for window lit interiors.

It’s also good to remember that lighting with an actual light source in Maya is referred to as “Direct Illumination” or “Direct Light” this is a very different system “Indirect Lighting” which is the bounce light in our scene. This can also refer to shaders such as in the newer Mental Ray Uber Shader the “MILA shader”.

Unfortunately the default light settings are rarely what we want nor are they intuitive. But once we learn a few settings we can light with a lot of power.[minti_spacer height=”13″][/vc_column][vc_column width=”1/3″ text_align=”left” text_color=”dark”][minti_iconbox icon=”fa-list-ul” style=”1″ iconcolor=”accent” title=”Contents (1:02 hrs)”]

1.1 – Introduction Setup
2.1 – Directional Lights
2.2 – Area Lights
2.3 – Spot Lights
3.1 – Creating The Interior
4.1 – Exposure With Lens Shader
5.1 – Incorrectly Area Light
5.2 – Portal Light Setup

[/minti_iconbox][minti_iconbox icon=”fa-pencil” style=”1″ iconcolor=”accent” title=”Instructor”]

Andrew Silke

[/minti_iconbox][minti_iconbox icon=”fa-calendar-o” style=”1″ iconcolor=”accent” title=”Last Updated”]

October 2015

[/minti_iconbox][/vc_column][/vc_row][vc_row bg_color=”#ffffff” text_color=”dark” ][vc_column width=”1/3″ text_align=”left” text_color=”dark”][minti_spacer height=”20″][/vc_column][vc_column width=”2/3″ text_align=”left” text_color=”dark”][minti_spacer height=”30″][minti_title align=”left”]1. Introduction and Setup (5:55 mins)[/minti_title][vc_column_text]Here we go over the different light types in Maya and setup the scene with linear workflow.[/vc_column_text][minti_spacer height=”0″][/vc_column][/vc_row][wpanchor id=”1.1″][vc_row bg_color=”#ffffff” text_color=”dark” ][minti_toggle title=”VIDEO 1.1 : INTRODUCTION AND SETUP (5:55 mins)” open=”false” icon=”fa-film”][vc_column width=”1/1″ text_align=”left” text_color=”dark”][minti_spacer height=”15″]

[/vc_column][vc_column width=”1/3″ text_align=”left” text_color=”dark”][minti_spacer height=”25″][/vc_column][vc_column width=”2/3″ text_align=”left” text_color=”dark”][minti_spacer height=”25″][minti_table style=”2″]

Information
The introduction and scene setup with linear workflow for this tutorial. See other tutes for more detailed info on Linear Workflow.

[/minti_table][/vc_column][vc_column width=”1/1″ text_align=”left” text_color=”dark”][/vc_column][vc_column width=”1/1″ text_align=”left” text_color=”dark”][minti_spacer height=”20″][/vc_column][/minti_toggle][/vc_row][vc_row bg_color=”#ededed” text_color=”dark” ][vc_column width=”1/3″ text_align=”left” text_color=”dark”][minti_spacer height=”20″][/vc_column][vc_column width=”2/3″ text_align=”left” text_color=”dark”][minti_spacer height=”30″][minti_title align=”left”]2. Light Types in Mental Ray (30 mins)[/minti_title][vc_column_text]Mental Ray uses the Maya Lights, the main lights are Area, Spot Light and Directional Lights. It’s important to note that we can switch the area and spot lights to a Mental Ray Light type.

Each light has various settings for falloff, shadow softness and sampling and intensity.

Mental Ray is a little strange in that when we adjust the falloff type to Quadratic (which is the realistic setting) the light intensity values can get very high.[/vc_column_text][minti_spacer height=”0″][/vc_column][/vc_row][wpanchor id=”2.1″][vc_row bg_color=”#ededed” text_color=”dark” ][minti_toggle title=”VIDEO 2.1 : DIRECTIONAL LIGHTS (7:17 mins)” open=”false” icon=”fa-film”][vc_column width=”1/1″ text_align=”left” text_color=”dark”][minti_spacer height=”15″]

[/vc_column][vc_column width=”1/3″ text_align=”left” text_color=”dark”][minti_spacer height=”25″][/vc_column][vc_column width=”2/3″ text_align=”left” text_color=”dark”][minti_spacer height=”25″][minti_table style=”2″]

Information
Direction Lights mimic sunlight and moonlight, lights that are so far away that we might as well treat the light rays as if they are parallel. In real life all light sources come from an area, but to save us actually creating a light the size of a sun and placing it many units away the directional light is the easy option.

Unlike other lights directional don’t have light falloff. We can also adjust the shadow blur/softness under the raytraced shadaw section

Attribute Editor
Ray Traced Shadow Attributes > Light Angle

The sampling quality of the soft shadows is found in the
Ray Traced Shadow Attributes > Shadow Rays

Directional Lights aren’t converted to Mental Ray light types, it’s fine to leave them as is.

[/minti_table][/vc_column][vc_column width=”1/1″ text_align=”left” text_color=”dark”][/vc_column][vc_column width=”1/1″ text_align=”left” text_color=”dark”][minti_spacer height=”20″][/vc_column][/minti_toggle][/vc_row][wpanchor id=”2.2″][vc_row bg_color=”#ededed” text_color=”dark” ][minti_toggle title=”VIDEO 2.2 : AREA LIGHTS (16 mins)” open=”false” icon=”fa-film”][vc_column width=”1/1″ text_align=”left” text_color=”dark”][minti_spacer height=”15″]

[/vc_column][vc_column width=”1/3″ text_align=”left” text_color=”dark”][minti_spacer height=”25″][/vc_column][vc_column width=”2/3″ text_align=”left” text_color=”dark”][minti_spacer height=”25″][minti_table style=”2″]

Information
Area Lights can be used for any earth based light, Depending on the intensity and scale and light shape they can mimc most regualr light types.

Set Quadratic falloff to make realistic. We have no blur value for these lights as they’re realistic. It’s also best to set the lights to Mental Ray lights and then the sampling value become the

Area Light Shape Node > Attribute Editor
Attributes > Decay Rate > Quadratic
Attributes > Intensity (numbers can become very large)

To make the light into a Mental Ray Light
Area Light Shape Node > Attribute Editor
Mental Ray > Area Light > Use Light Shape On

The sampling quality of the soft shadows is found in the
Area Light Shape Node > Attribute Editor
Mental Ray > Area Light > High Samples

[/minti_table][/vc_column][vc_column width=”1/1″ text_align=”left” text_color=”dark”][/vc_column][vc_column width=”1/1″ text_align=”left” text_color=”dark”][minti_spacer height=”20″][/vc_column][/minti_toggle][/vc_row][wpanchor id=”2.3″][vc_row bg_color=”#ededed” text_color=”dark” ][minti_toggle title=”VIDEO 2.3 : SPOT LIGHTS (6:38 mins)” open=”false” icon=”fa-film”][vc_column width=”1/1″ text_align=”left” text_color=”dark”][minti_spacer height=”15″]

[/vc_column][vc_column width=”1/3″ text_align=”left” text_color=”dark”][minti_spacer height=”25″][/vc_column][vc_column width=”2/3″ text_align=”left” text_color=”dark”][minti_spacer height=”25″][minti_table style=”2″]

Information
Spot Lights can be used much like area lights except we can fos the rays mor into a cone shape as a spot light or a torch would do. We can also change these lights to Mental Ray area Lights and it’s worth doing so.

Set Quadratic falloff to make realistic. We have no blur value for these lights as they’re realistic (if switched to Mental Ray Area Lights). It’s also best to set the lights to Mental Ray lights and then the sampling value become the High Samples.

Spot Light Shape Node > Attribute Editor
Attributes > Decay Rate > Quadratic
Attributes > Intensity (numbers can become very large)

To make the light into a Mental Ray Light
Spot Light Shape Node > Attribute Editor
Mental Ray > Area Light > Use Light Shape On

The sampling quality of the soft shadows is found in the
Spot Light Shape Node > Attribute Editor
Mental Ray > Area Light > High Samples

[/minti_table][/vc_column][vc_column width=”1/1″ text_align=”left” text_color=”dark”][/vc_column][vc_column width=”1/1″ text_align=”left” text_color=”dark”][minti_spacer height=”20″][/vc_column][/minti_toggle][/vc_row][vc_row bg_color=”#ffffff” text_color=”dark” ][vc_column width=”1/3″ text_align=”left” text_color=”dark”][minti_spacer height=”20″][/vc_column][vc_column width=”2/3″ text_align=”left” text_color=”dark”][minti_spacer height=”30″][minti_title align=”left”]3. Creating The Interior Room (4:18 mins)[/minti_title][vc_column_text]Now well move onto the next part of this tutorial which centers more on interior lighting. Interiors are much harder to light generally than exteriors where we usually light with a simple HDR light dome. Interiors have a number of challenges for bounce lighting and so lets get started and setup the scene.[/vc_column_text][minti_spacer height=”0″][/vc_column][/vc_row][wpanchor id=”3.1″][vc_row bg_color=”#ffffff” text_color=”dark” ][minti_toggle title=”VIDEO 3.1 : CREATING THE INTERIOR ROOM (4:18 mins)” open=”false” icon=”fa-film”][vc_column width=”1/1″ text_align=”left” text_color=”dark”][minti_spacer height=”15″]

[/vc_column][vc_column width=”1/3″ text_align=”left” text_color=”dark”][minti_spacer height=”25″][/vc_column][vc_column width=”2/3″ text_align=”left” text_color=”dark”][minti_spacer height=”25″][minti_table style=”2″]

Information
Andrew demo’s the modelling of a very simple interior.

[/minti_table][/vc_column][vc_column width=”1/1″ text_align=”left” text_color=”dark”][/vc_column][vc_column width=”1/1″ text_align=”left” text_color=”dark”][minti_spacer height=”20″][/vc_column][/minti_toggle][/vc_row][vc_row bg_color=”#ededed” text_color=”dark” ][vc_column width=”1/3″ text_align=”left” text_color=”dark”][minti_spacer height=”20″][/vc_column][vc_column width=”2/3″ text_align=”left” text_color=”dark”][minti_spacer height=”30″][minti_title align=”left”]4. Camera Exposure – Photographic Lens Shader (4:01 mins)[/minti_title][vc_column_text]In the real world we can open a camera’s lense or lengthen the shutter time to brighten the image. In Mental Ray we can also adjust our exposure. One way is in the render view but the other is done by simply creating a “photographic lens shader” through the camera settings.[/vc_column_text][minti_spacer height=”0″][/vc_column][/vc_row][wpanchor id=”4.1″][vc_row bg_color=”#ededed” text_color=”dark” ][minti_toggle title=”VIDEO 4.1 : CAMERA EXPOSURE – PHOTOGRAPHIC LENS SHADER (4:01 mins)” open=”false” icon=”fa-film”][vc_column width=”1/1″ text_align=”left” text_color=”dark”][minti_spacer height=”15″]

[/vc_column][vc_column width=”1/3″ text_align=”left” text_color=”dark”][minti_spacer height=”25″][/vc_column][vc_column width=”2/3″ text_align=”left” text_color=”dark”][minti_spacer height=”25″][minti_table style=”2″]

Information
Andrew creates a lense shader to adjust exposure.

[/minti_table][/vc_column][vc_column width=”1/1″ text_align=”left” text_color=”dark”][/vc_column][vc_column width=”1/1″ text_align=”left” text_color=”dark”][minti_spacer height=”20″][/vc_column][/minti_toggle][/vc_row][vc_row bg_color=”#ffffff” text_color=”dark” ][vc_column width=”1/3″ text_align=”left” text_color=”dark”][minti_spacer height=”20″][/vc_column][vc_column width=”2/3″ text_align=”left” text_color=”dark”][minti_spacer height=”30″][minti_title align=”left”]5. Portal Light Setup (18 mins)[/minti_title][vc_column_text]Portal Lights are a must for lighting rooms lit by windows. The portal light acts like a conductor of the outside light turning the outside values into a direct area light. This improves the quality of the light being bounced from outside which can be difficult to achieve with Final Gather alone.[/vc_column_text][minti_spacer height=”0″][/vc_column][/vc_row][wpanchor id=”5.1″][vc_row bg_color=”#ffffff” text_color=”dark” ][minti_toggle title=”VIDEO 5.1 : INCORRECTLY USING AN AREA LIGHT AS A WINDOW (5:04 mins)” open=”false” icon=”fa-film”][vc_column width=”1/1″ text_align=”left” text_color=”dark”][minti_spacer height=”15″]

[/vc_column][vc_column width=”1/3″ text_align=”left” text_color=”dark”][minti_spacer height=”25″][/vc_column][vc_column width=”2/3″ text_align=”left” text_color=”dark”][minti_spacer height=”25″][minti_table style=”2″]

Information
Here Andrew demo’s using an area light as a windo light. With the default values the lighting effect is more of a cinema TV Screen lighting look.

[/minti_table][/vc_column][vc_column width=”1/1″ text_align=”left” text_color=”dark”][/vc_column][vc_column width=”1/1″ text_align=”left” text_color=”dark”][minti_spacer height=”20″][/vc_column][/minti_toggle][/vc_row][wpanchor id=”5.2″][vc_row bg_color=”#ffffff” text_color=”dark” ][minti_toggle title=”VIDEO 5.2 : PORTAL LIGHT SETUP (12 mins)” open=”false” icon=”fa-film”][vc_column width=”1/1″ text_align=”left” text_color=”dark”][minti_spacer height=”15″]

[/vc_column][vc_column width=”1/3″ text_align=”left” text_color=”dark”][minti_spacer height=”25″][/vc_column][vc_column width=”2/3″ text_align=”left” text_color=”dark”][minti_spacer height=”25″][minti_table style=”2″]

Information
Now Andrew demo’s the portal light setup, letting the light from the outside flow through the area light in the window and correctly lighting the interior.

[/minti_table][/vc_column][vc_column width=”1/1″ text_align=”left” text_color=”dark”][/vc_column][vc_column width=”1/1″ text_align=”left” text_color=”dark”][minti_spacer height=”20″][/vc_column][/minti_toggle][/vc_row]