Shadows
CSC 476
Zoë Wood / Ian Dunn
Shadows
Reveal spatial relationships
Shadow Terminology
Occluders
Umbra
Penumbra
Real-Time Shadow Techniques
Andrew Wyeth
Planar shadows
Projective textures
Done in shader of
affected object
Shadow volumes (skirts)
Shadow Volumes - Generation
Shadow Volumes - Generation
Shadow maps
Shadow Maps
Shadow Maps - Steps
Shadow Maps
Light Parameters? See everything that casts shadows
Constrain this!
Shadow Maps
Light matrix = Lp * Lv
Want: Light NDC - how and why?
Shadow Acne
Bias = peter panning
Shadow Maps - Problems
Shadow Maps
Ideally - one shadow texel = one fragment
Projection transform makes this difficult
Projection transform of the viewer
Cascaded Shadow Maps
Percentage Closer Filtering
Trade-off: sample count vs. performance
What about soft shadows?
These are still hard shadows
Percentage Closer Soft Shadows