lighting
Set the lighting model on a surface.
Syntax
Section titled “Syntax”lighting flatlighting gouraudlighting noneDescription
Section titled “Description”Selects the shading interpolation algorithm for surfaces and patches:
'flat'— uniform shading per face (default forsurf)'gouraud'— smooth shading interpolated across vertices'none'— no lighting (color from data only)
Example
Section titled “Example”lighting gouraudSee also
Section titled “See also”light— Add a directional or point light source to a 3D scene.lightangle— Add or position a light source by azimuth and elevation.material— Set surface material reflectance properties.shading— Set the surface-edge rendering style.