Ambient reflection (ka): | 1.0 |  | Ambient color: |  |  | Light position:
Diffuse reflection (kd): | 1.0 |  | Diffuse Color: |  | X: | 1 |
Specular reflection (ks): | 1.0 |  | Specular Color: |  | Y: | 1 |
Shininess: | 80 |  | Background Color: |  | Z: | -1 |
| ### Vertex Shader ### Fragment Shader

Based on a http://multivis.net/lecture/phong.html | WebGL applet by Prof. Thorsten Thormählen. Modified by Johannes Kehrer for educational purpose.