It's measuring light through multiple samples, and then aggregating them together. Not all that different from a long exposure photograph.