Code covered by the BSD License
23 Feb 2012
Change lighting algorithm to phong
Watch this File
This is an example of how to produce an interpolated lighting across the surfaces in MATLAB®. This lighting is good for viewing curved surfaces.
Read about the "light" and "lighting" functions in MATLAB® documentation.
Go to MATLAB Plot Gallery - http://www.mathworks.com/discovery/gallery.html