Show in Contents
![](../images/show_in_contents.gif)
Add to Favorites
![](../images/add_favorite.gif)
Home: Autodesk Maya Online Help
Lesson 2: Saving scripts to the Shelf
![](./../images/nav-prev-xp.gif)
Lesson 2: Saving scripts to the Shelf
![](./../images/nav-up-xp.gif)
Setting up the scene
Introduction
In this lesson, you set
up a three-point lighting system using MEL and save those MEL commands
as a button on the Shelf. This lets you quickly set up a three-point
lighting system in future scenes. You learn how to:
- Enter MEL commands in place of selecting
menu items
- Create a shelf button to run a series
of commands
Three-point lighting
uses three different kinds of lights:
- A main light to light the subject, cast
shadows and produce highlights
- A fill light to decrease the contrast
caused by the main light
- A rim light so the object stands out
against the background
Three-point lighting
is used extensively in film, photography and computer graphics.