Hello everyone and welcome to (Understanding Lights in Maya) tutorial series, well in this tutorial series we will explore Maya's default light options for every and each light in the list, this tutorial series will be in 4 parts including exercise tutorial in the end of these tutorials, after reading these tutorials you will have enough understanding about each and every light in Maya, I hope you will enjoy doing these tutorials so today I am going to present you the first part of these tutorials which will be (Ambient Light) and (Directional Light). Let’s get started.
Before starting anything make sure your Mental ray plug-in is load up, if not then follow the images below.
Keep Going
Now from render settings, change the renderer (from Maya default to Mental ray)
Ok now create plane with sphere to work with while testing lights, and then apply blinn material with any texture you wish and then do the following settings
|
Now hit render without any light setup, and you should see something like this...
It's time to drop light in the scene...
Once the light created in the scene, Move it up on the top of your object, and then hit CTRL+A to bring Attributes Editor or in the other words to brings it's parameters
In the render settings do the same settings as shown in the below image
Global Illumination is dealing with indirect illumination, specially works fine with photons, we will talk about photons in the Part 3 of these tutorials.
Last but not the least still in the render settings check (Final Gathering) this option will help us to illuminate more and to get overall smoother result of our final output.
Here is the final result with the same settings we did...
Note: These kind of lights are used to fill the scene, these lights usually called (Fill Light)
This was the end of first light, next we will start working on Directional light
As before create Directional Light
And place it somewhere on the scene
Hit CTRL+A to bring attributes editor for the directional light, if you see its a bit different then Ambient light, ok lets reveal what they are..
As we already had the chance to talk about (Illuminate by Default, Color, Intensity, Shadow Color) in the Ambient light settings, so we will talk about other settings
Emit Diffuse = if you have diffuse material in the scene and you don't want to show it you could simply uncheck it,
Emit Specular = same as diffuse if you have Specular materials in your objects by unchecking it wont show in the final render,
Use Depth Map Shadows = by checking this you will tell the system to cast shadows,
Resolution = the higher values the smoother result but longer rendering time, by default its 512,
Filter Size = will help you to smooth the edges of your shadows,
Bias = will increase the softness,and the rest just keep playing with the values you will understand what they dose, here i am just focusing on the main options.
By these settings now just hit render and you will get below image
As you see the shadows are too dark because we don't have any fill lights in the scene that is why they are looking too dark, for the sake of these tutorials we will just keep focusing on one single light to see the result of our changes.
You could also increase the shadow color to see the changes, but you won't make any difference except little bit change.
|
Now uncheck the Use Depth Map Shadows and scroll down to bottom and check (Use Raytrace Shadows),
Light Angle = will help you to smooth out shadows around the edges of objects,
Shadow Rays and Ray depth Limit = will help you to remove noise from your shadows, this works conjunction with Raytracing in the render settings as you will see next
open up (Render Settings) and then expand the (Anti Aliasing Quality) tab,
Hit render, and you will see little bit smoother result
ok its time to final adjustment in the light settings, open up Render Settings and scroll down to bottom expand the Final Gathering tab just check (Final Gathering) and increase the (Point Density) to 2.
Hit the render button to see the result, Here i come up with the same settings we did.
Ok guys I hope this could help you to understand something about lights in Maya, in the part 2 of this tutorial series will explore about (Point Light) and (Spot Light).
You can find the Maya Scene file here: directional light sample scene
You can find other pats of this sereis here:
Part 2: Understanding Lights in Maya Part 2: Point Light & Spot Light
Part 3: Understanding Lights in Maya Part 3: Area light & Volume Light
Part 4: Understanding Lights in Maya Part 4: Interior Lighting
Comments