What does ShadowMesh do in laymen terms?

The example has no description, and there are no docs anywhere except the actual math inside ShadowMesh.

My guess is it is taking the same mesh as the object that should have a shadow, and flattening the equivalent geometry onto the given plane.

ShadowMesh is a very simple implementation of a technique called shadow volume. It’s an alternative to shadow mapping.

However, ShadowMesh only supports shadows on a single plane. A full shadow volume implementation works differently. More information here:

2 Likes

Amazing tidbits of history there. Thanks!