Ambient reflection (ka): | 1.0 | Ambient Color: | Light Position: | Light Color | Eye Position | |||||||
Diffuse reflection (kd): | 1.0 | Diffuse Color: | X: | 1 | Ambient Color: | Radius: | 1.5 | |||||
Specular reflection (ks): | 1.0 | Specular Color: | Y: | 1 | Diffuse Color: | Theta: | 0 | |||||
Shininess: | 80 | Background Color: | Z: | 1 | Specular Color: | Phi: | 0 |
Vertex shader: |
Fragment shader: |