If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Prott
Posts: 104 Joined: Sun Jan 14, 2007 12:01 pm
Post
by Prott » Mon Jan 15, 2007 4:18 pm
Hello,
I have one simple question ... Is there any way to create shadow from SAnimatedMesh or SMesh ? (without "reprogramming" irrlicht source code)
Riki
Posts: 30 Joined: Tue Feb 27, 2007 9:12 pm
Location: Croatia
Post
by Riki » Thu Mar 15, 2007 12:57 pm
Yes search for shadow and youll find plenty of examples how to do it
Prott
Posts: 104 Joined: Sun Jan 14, 2007 12:01 pm
Post
by Prott » Thu Mar 15, 2007 3:48 pm
I searched the whole forum and there isn`t any thread how to do SMesh (including DOT3 mapping) + Shadow
bitplane
Admin
Posts: 3204 Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:
Post
by bitplane » Thu Mar 15, 2007 5:50 pm
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.
Prott
Posts: 104 Joined: Sun Jan 14, 2007 12:01 pm
Post
by Prott » Thu Mar 15, 2007 9:23 pm