depth map

In rendering, an image file that represents the distance from a specific light source to the surfaces that the light source illuminates, from the point of view of the light source. Each pixel in the depth map represents the distance from the light to the nearest shadow-casting surface in a specific direction.

Depth mapping is one way to produce shadows.

See also shadow.

Contrast with raytracing.