Mathematica HowTo
How to | Change the Lighting of Plots
You can enhance the appearance of 3D graphics in Mathematica by changing the direction and color of plot lighting. Lighting, an option for Graphics3D and related functions, can be combined with other functions and options to yield customized high-quality graphics.
First, create a sphere with no options set:
 Out[1]=
The default setting for Lighting is Automatic:
 Out[2]=
Use white light sources by setting the Lighting to neutral:
 Out[3]=
Turn the lighting off:
 Out[4]=
Send blue light from the point with coordinates (0, -1, 1):
 Out[5]=
Send blue and green lights from two different points:
 Out[6]=
Ambient lighting is applied from all directions:
 Out[7]=
Add blue light from a point:
 Out[8]=
Send green light along a vector specified with two points:
 Out[9]=
Specify a spotlight by position, target position, and half-angle:
 Out[10]=
Use lighting in a 3D plot:
 Out[11]=

Change the position of the spotlight to obtain different views of an object:
 Out[12]=
Manipulate the lighting position on a sphere:
 Out[13]= Play Animation ▪