This is an example of how to produce a uniform lighting across the surfaces in MATLAB®. This lighting is good for viewing faceted surfaces.
Read about the "light" and "lighting" functions in MATLAB documentation.
For more examples, go to MATLAB Plot Gallery - http://www.mathworks.com/discovery/gallery.html
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.