Create custom spot light
decay
An
intensity curve or an expression can be used to control decay. You
can also create a custom brightness decay rate using an intensity
curve. You can edit curves in the Expression or Graph editors.
For more information about the Expression or Graph editors,
search the Maya Help.
To create a custom brightness decay
- In the Light Effects section
of the spot light’s Attribute Editor, click the Create button
beside the Intensity Curve attribute.
Maya creates an Intensity
Curve node and connects it to the Intensity attribute.
- Turn on Light Direction Only in
the Attribute Editor that appears.
Create custom spot light
color decay
You can create a custom
color decay rate using a set of color curves (a red curve, a green
curve, and a blue curve).
To create a custom color decay
- In the Light Effects section
of the spot light’s Attribute Editor, click the Create button
beside the Color Curves attribute.
- Turn on Light Direction Only in
the Attribute Editor that appears.
Maya creates a Red
Curve node, a Green Curve node,
and a Blue Curve node and connects
them to the Color attribute.
Edit custom intensity and
color decay
You can edit intensity
curves or a set of color curves either in the Attribute Editor or
in the Graph Editor. Intensity or
color curves display as a table of values in the Attribute
Editor.
To view the table for an Intensity
Curve in the Attribute Editor
- Click the box next to the Create button.
To view the attribute table for Color
Curves and the Intensity curve (after you
create them)
- Select the spot light in the view.
TipWhen creating intensity
and color curves for a light source, IPR Render the scene or part
of the scene to get instant feedback on the changes you make to
the light’s intensity and color curves.
To work with Intensity or Color
curves in the Graph Editor
- To adjust the Intensity or Color
Curves interactively, select the spot light and open
the Graph Editor (
Window > Animation Editors
> Graph Editor). An
intensity curve appears as a dark blue line, and color curves display
as red, green, and blue lines.
- To edit points or entire curves, use
the Graph editor. For more information
on the Graph editor, see
Graph Editor