As of Version 6.0, LightSources has been superseded by settings for Lighting.


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


  • The basic form is LightSources->{s1,s2,}, where the si are the specifications for each light source.
  • Each si has the form {direction,color}. The direction is specified as {x,y,z}, where the components are taken with respect to the final display area. The x and y are horizontal and vertical in the plane of the display; z is orthogonal to the display. Positive z 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.
  • Simulated illumination determines the shading of surfaces in three-dimensional pictures.
  • The shading of a particular surface element is computed as a sum of contributions from point light sources, plus a contribution from ambient light.
  • Surface properties are specified by RGBColor, Specularity, and Glow directives.
  • Light reflection properties assumed for surfaces are described in the notes for SurfaceColor.
Wolfram Research (1988), LightSources, Wolfram Language function,


Wolfram Research (1988), LightSources, Wolfram Language function,


Wolfram Language. 1988. "LightSources." Wolfram Language & System Documentation Center. Wolfram Research.


Wolfram Language. (1988). LightSources. Wolfram Language & System Documentation Center. Retrieved from


@misc{reference.wolfram_2024_lightsources, author="Wolfram Research", title="{LightSources}", year="1988", howpublished="\url{}", note=[Accessed: 24-June-2024 ]}


@online{reference.wolfram_2024_lightsources, organization={Wolfram Research}, title={LightSources}, year={1988}, url={}, note=[Accessed: 24-June-2024 ]}