Lighting is the basis of all rendering. Learn about and understand the basic lighting types available in Maya. In this instructional video, George shows how to create the various types of lights in Maya. These include spot lights, point lights, ambient lights, and directional lights. He shows how to adjust key attributes to affect the light quality.
- [Instructor] When we render, we need to have light. So let's take a look at some of the basic lights that are included with Maya. Maya has a number of basic lights. And if we go to the Rendering shelf, we can kind of see them here, or we can find them under Create, Lights. And we can tear this off. We have ambient, directional, point, spot, area, and volume light. Now, these are just basic lights. Other types of renderers may include their own lights.
Arnold, for example, has a number of lights for itself that we'll take a look at in just a bit. But let's take a look at some of these basic Maya lights. Now, I'm going to zoom out here, so we can kind of see the effects of these. And probably the easiest one to understand is called the point light, and that's basically just the bare light bulb in the room. So if I click on Point Light, the point light comes up in here. Now, we're not seeing the lighting. And all we have to do is go to the menu in the Viewport that says Lighting and turn on Use All Lights, or we can hit the hotkey of 7.
And when I do that, you can see how this light works. Now, it basically just casts lights in all directions. And so you can see how we have that sort of lighting in the room. Now, if we go over to the Attribute Editor for this light, we can change a number of attributes for it. One of the first ones is the intensity of the light. So under Point Light Attributes, if you dial down or up the intensity, you can change that. We can also change the color of the light.
So if we want to make it any color we want, we can certainly do that. Now, in addition to this, lights can have decay. So by default, the Maya lights have no decay, which means that they emit the same amount of power no matter how far away you are from them. Now, in the real world, lights do decay along the square of the distance. So we have three types of decay. We have linear decay, which will fall off basically linearly.
We have quadratic decay, which is real-world lighting, which falls off with the square of the distance. And then we also have cubic lighting, which falls off with the cube of the distance. So if we were to bring it up to, say, Quadratic, you would notice how the intensity really isn't that much, and so what we have to do is actually increase the intensity to compensate. So if I type in, say, a larger number, say, 400, or maybe even 4,000, then we'll start to get light.
And notice how when this light gets closer to something, it illuminates it more. So we can even bring that up a lot more, so let's bring it up to, say, 12,000. And as you can see, we're starting to get realistic lighting. Now, this is because this light is falling off with the square of the distance. So if we were to change this back to Linear, it would blow out the scene here. So we have to bring this down a lot. Or if we bring it to No Decay, your best value's going to be essentially one.
So I'm going to go ahead and delete that. And let's create another important type of light, and that is the spot light. And so I'm going to go ahead and create this spot light here. And as you can see, it creates a spot of light on the wall. Now, you might not be able to see this light, so you can scale them up. So we're going to scale up this light a little bit, so now we can see it. And if we want, we can rotate it. We can move it around. And if I double-click on my Move Tool, I can change this to Object space, which means that my blue axis will pull this away.
And now this spot light has its own attributes. Now, just like with the point light, we do have color, intensity. We also have falloff and decay rate. But we also have a cone angle, so that's how much this particular light is spreading. And then we also have what's called a penumbra, and that's the soft edge of that light. Now, if you want to manipulate lights in Maya, you may also want to use the Manipulator Tool. So if we go into Modify, Transformation Tools, you'll see we have a Show Manipulator Tool.
And when I turn that on, you'll see that I actually get basically two pivots here. And if I can move them away from each other, they're right on top of each other right now, you'll see that I actually have a target, which allows me to place this in the room. So now I'm using this Manipulator Tool to position this light. So if I want this light to be completely focused right here in the room, then I can place that target there. And then however I move the light, it's always going to be pointed at that target, and that's a great way to adjust the lights.
So we can go ahead and select this spot light, and delete it. And now let's take a look at some other lights here. We have one called ambient light, and all that does is create ambient lighting in the room. So if you need just kind of a base level of lighting, you can bring in that ambient light, and it will just brighten up the room without adding shadows or anything else. And then we also have what's called a directional light. I'm going to go ahead and use my Move Tool to move this out. And you really can't see it, so I'm going to scale this up just a bit.
And you'll see it's just kind of a collection of arrows. And a directional light basically simulates light from a very long ways away, so, for example, light from the Sun. And so that's parallel light that's coming from everywhere from a specific direction. So all we're really controlling here is the direction of the light. It doesn't really matter where in the scene we place this. So all I need to do is just rotate this, and you can see how it changes the lighting in the scene.
But it doesn't really matter where I move this because the light is basically coming from infinity. This is a great way to get outdoor lighting or basically a global wash of directional light. So I'm going to go ahead and delete this. And then I've got one more light I want to show you, and that's called the area light. Now again, I need to scale this up a little bit. It comes in a little small in this scene. But as you can see, this area light essentially has an area.
In this case, it's a rectangular area. But I can move this into the scene, and it'll create a softer light in the scene. Now, if I want to, I can scale it. Now, by scaling it, you're actually bringing more light into the scene. So notice how when this is bigger, it has more light. And when it's smaller, it has less light. But this is a great way to get kind of a nice wash of light over the scene. Now, this particular area light may not be supported by all renderers, so you have to kind of check to make sure it's supported before using it with other software renderers.
So those are some of the basic lights that we have available in Maya.
- Getting familiar with the Maya interface
- Configuring viewports and workspaces
- Selecting and manipulating objects
- Creating hierarchies and layers in scenes
- Creating polygonal models
- Modeling and refining polygonal meshes
- Working with subdivision surfaces
- Sculpting a basic landscape
- NURBs modeling
- Creating and applying materials and textures
- Adding lights and cameras to a scene
- Rendering in Arnold
- Animating in Maya