Your browser does not support the canvas element
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 Lecture | WebGL applet by Prof. Thorsten Thormählen. Modified by Johannes Kehrer, Alec Jacobson, and Tino Weinkauf for educational purposes.