| MATLAB Function Reference | ![]() |
lighting flat
lighting gouraud
lighting phong
lighting none
lighting selects the algorithm used to calculate the effects of light objects on all surface and patch objects in the current axes.
lighting flat selects flat lighting.
lighting gouraud selects gouraud lighting.
lighting phong selects phong lighting.
lighting none turns off lighting.
The surf, mesh, pcolor, fill, fill3, surface, and patch functions create graphics objects that are affected by light sources. The lighting command sets the FaceLighting and EdgeLighting properties of surfaces and patches appropriately for the graphics object.
light, material, patch, surface
Lighting as a Visualization Tool for more information about lighting
Lighting for related functions
![]() | lightangle | lin2mu | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |