02/04/2003
15-462 Graphics I
17
Basic Calculation
•Calculate each primary color separately
•Start with global ambient light
•Add reflections from each light source
•Clamp to [0, 1]
•Reflection decomposed into
–Ambient reflection
–Diffuse reflection
–Specular reflection
•Based on ambient, diffuse, and specular lighting and material properties