verve.gl — shadow map
A cube on a floor. The single directional light casts a real depth-mapped shadow: a depth pass renders the scene from the light, and the floor samples it with 3×3 PCF.
Drag to orbit · wheel to zoom · the cube casts onto the floor as it auto-rotates.