Using MATLAB Graphics     Search    Help Desk 

Lighting Commands

MATLAB provides commands that enable you to position light sources and adjust the characteristics of lit objects. These commands include:

Command
Purpose
camlight
Create or move a light with respect to the camera position.
lightangle
Create or position a light in spherical coordinates.
light
Create a light object.
lighting
Select a lighting method.
material
Set the reflectance properties of lit objects.

You may find it useful to set light or lit-object properties directly to achieve specific results. In addition to the material in this topic area, you can explore the following lighting examples as an introduction to lighting for visualization.



[ Previous | Help Desk | Next ]