Overview
Shadow Mapping renders a depth map from a light source and tests whether visible points are hidden from that light.
Creates shadows by comparing camera pixels with depth from the light's view.
Compact metadata for implementation and discovery.
Shadow Mapping renders a depth map from a light source and tests whether visible points are hidden from that light.
Quick facts
Runtime and memory behavior at a glance.
Best
O(f)
Average
O(f)
Worst
O(f)
Space
O(p)
in_shadow if receiver_depth > shadow_map_depth + biasCompares a shaded point against the light's stored depth map.
Show a light-space depth map deciding which pixels are in shadow.
Shadow Mapping operates in O(f) time and O(p) space within the Real-Time Lighting family. Key governing relation: in_shadow if receiver_depth > shadow_map_depth + bias. Often compared with Z-Buffering and Variance Shadow Maps.
What each reference supports for this entry.
Original shadow mapping paper using z-buffer visible-surface computation from the light view.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Both render shadows with different visibility representations.
Variance shadow maps are a filterable variant of shadow mapping.