1. A method of mapping a glint to a light source, comprising: illuminating an object with patterns of a plurality of light sources, the patterns including a first pattern in which a first light source of the light sources is on and a second pattern in which the first light source is off; capturing a plurality of images of the object at a camera while illuminating the object with corresponding ones of the patterns; analyzing glints in the captured plurality of images; and mapping a glint to the light source that is responsible for the glint, the mapping being based on the analysis.