|MATLAB Function Reference|
Select the lighting algorithm
lighting selects the algorithm used to calculate the effects of light objects on all surface and patch objects in the current axes.
selects flat lighting.
selects gouraud lighting.
selects phong lighting.
turns off lighting.
patch functions create graphics objects that are affected by light sources. The
lighting command sets the
EdgeLighting properties of surfaces and patches appropriately for the graphics object.
Lighting as a Visualization Tool for more information about lighting
Lighting for related functions