Blinn-Phong Shading

The code is heavily based on the WebGL Programming Guide by Kouichi Matsuda and Rodger Lea. You can find more information about the book and the source code on their webpage. The code posted here is with the generours permission by the authors.

Please use a browser that supports "canvas"
Use a/w/s/d keys to rotate light source or model.
Check box for (unchecked is light source control)
Use +/- keys for zooming or



Back to demoCode
© Jochen Lang