Light Color (Light Diffuse Term): | Sphere Color (Material Diffuse Term): | ||||||
Light Ambient Term: | 0.03 | Material Ambient Term: | 1.0 | ||||
Light Specular Term: | 1.0 | Material Specular Term: | 1.0 | ||||
X: | 0 | Shininess: | 230 | ||||
Y: | 1 | Background Color (gl.clearColor): | |||||
Z: | 1 | Turning Speed: | 2001 |
This model has three terms:
Unlike the Goraud interpolation that calculates a final color per-vertex, the Phong interpolation calculates a final color per-pixel.
P.S: This Webpage is modified from sample code