Page 1 of 1

SAnimatedMesh / SMesh - Shadow Volume

Posted: Mon Jan 15, 2007 4:18 pm
by Prott
Hello,
I have one simple question ... Is there any way to create shadow from SAnimatedMesh or SMesh ? (without "reprogramming" irrlicht source code) :)

Posted: Thu Mar 15, 2007 12:57 pm
by Riki
Yes search for shadow and youll find plenty of examples how to do it :wink:

Posted: Thu Mar 15, 2007 3:48 pm
by Prott
I searched the whole forum and there isn`t any thread how to do SMesh (including DOT3 mapping) + Shadow :shock:

Posted: Thu Mar 15, 2007 5:50 pm
by bitplane
SMesh doesn't exist in the scene without being part of a node, so what use would a shadow be if you're not going to draw it?
easiest way would be to attach the SMesh to SAnimatedMesh, add as an AnimatedMeshSceneNode, then create a shadow as usual.

Posted: Thu Mar 15, 2007 9:23 pm
by Prott
This is "a little bit" old threat. There it is:
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=18793