Shading and lighting models
Computer Graphics · Engineering
Study notes
Shade a sphere: ambient 0.2 gray base; diffuse from lamp direction (dot of normal and light); specular highlight where reflection hits eye (shininess 32). Phong sums three. Flat shading faceted; Gouraud interpolates; Phong per-pixel smooth.