@3run: the framerate is never lower than 512fps on my good enough machine, but there are only 15k polygons on the screen. It is an extension of the shadow mapping example from 3dgs samples folder. It is basically same code but with one more depth camera that modifies the mesh though vertex shader to fill the shadow volume.

Salud!