Classic 3D videogame shadow techniques

from blog Computer Graphics & Programming with Pekka Väänänen - 30fps.net, | ↗ original
Towards the end of Wim Wenders’s excellent Perfect Days, the protagonist Hirayama is drinking beer under a bridge after he has seen a Businessman courting his crush. Suddenly the Businessman joins him under the bridge. As it turns out, things aren’t actually that simple but the point is their conversation takes them to some fundamental questions: