Phong Demo for CSC2503
To play with a simple Matlab demo of phone shading, see the m-file
phongDemo.m, which uses
the function phongShade.m.
This demo generates 4 images to take a look at:
ambient light,
metal spheres,
shiny spheres,
matte spheres
Notes on Phong shading
and interesting properties the peppersc.jpg image (below)
are discussed there: