Projected PlanarShadows
Classic computer graphics trick
- Given
- Ground plane equation, Ax + By + Cz + D = 0
- Light position (x, y, z, w)
- Construct projective transform that “squishes” vertices into ground plane based on light position
- Concatenate this with view transform
- Rendering 3D object creates shadow-like pile of polygons in ground plane