Creating rich, lush computer-generated images is no mean feat, and one of the most fundamental aspects is light and shade. This video explains how programmers and designers tackle that crucial problem.

It's a question of rolling together all kinds of data—from information about lighting sources to material properties and geometry—to create a convincing effect. Listen to John Chapman explain how it's done. [Computerphile]