Hello!
Real-time stencil shadows with IrrlichtLime
http://www.youtube.com/watch?v=NgFxZX7saTQ
Shadow volume calculated in different thread. With animated meshes there is a problem - when we actually see the shadow, we see the shadow for some previous frame in the past, so the shadow a bit late, mostly its noticeable for fairy's wings. Also, for now, the most huge slowdown is when we get a lot of vertices (from shadow calculation) and we actually draw them - we send an array of managed vectors, which gets converted to unmanaged every single frame (just to draw them) - so this is fairly slow.
P.S.: native IShadowVolumeSceneNode has great method - setShadowMesh(), but would be great to have also something like setShadowVolume(const core::vector3df *triangles, s32 count) -- so we could simply specify already precalculated volume, and Irrlicht will draw it internally directly calling driver->drawStencilShadowVolume() and just passing our arguments.