This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)



FilledSmallSquareLightSources is an option for Graphics3D and related functions that specifies the properties of point light sources for simulated illumination.

FilledSmallSquare The basic form is LightSources -> , , ... , where the are the specifications for each light source. Each has the form direction, color. The direction is specified as x, y, z, where the components are with respect to the final display area. The and are horizontal and vertical in the plane of the display; is orthogonal to the display. Positive is in front. Only the relative magnitude of the components is relevant; the overall normalization of the vector is ignored. The color can be specified by GrayLevel, Hue or RGBColor.

FilledSmallSquare Simulated illumination determines the shading of polygons in three-dimensional pictures.

FilledSmallSquare The shading of a particular polygon is computed as a sum of contributions from point light sources, plus a contribution from ambient light.

FilledSmallSquare Surface properties of polygons are specified by SurfaceColor directives.

FilledSmallSquare Light reflection properties assumed for polygons are described in the notes for SurfaceColor.

FilledSmallSquare See The Mathematica Book: Section 2.9.12.

FilledSmallSquare See also: AmbientLight.

Further Examples