So I managed to to make a demo of realtime shadows between two cubes an a ground plane with a point light. It's using the shadow volume method using polygon clipping.
https://www.dropbox.com/s/f9x1ov9fy7y7bpr/3d_shadow_volume.c3p?dl=1
You can drag the cubes if you click on the the middle of them. The fireflies in the shadows are from Z-buffer precision limits. The edges show sometimes as well since the shadows are offset slightly to reduce z-fighting.
To fit it into 25 events it's currently limited to just the two cubes and ground plane. However I think I can see at least one more event I can squeeze out of it so we could have any number of cubes after some refactoring, but that's for another day. Overall it was an interesting test, but to make it simple to use in general would require a lot more work.
Anyways, cheers!
EDIT:
made it so you can add as many blocks as you want and added block color.
nice jop!you use mesh creat everyting! real usefull!You're a math genius。