question about Irrlicht shadows.
-
- Posts: 61
- Joined: Sun May 08, 2005 11:30 am
question about Irrlicht shadows.
In my scenes, I'm using .x models, and i know how to create lights and set the model material etc, but the models arent casting shadows on each other. Can irrlicht not do this yet or is there something special I need to do to cast shadows? I don't need to create a whole world for what i'm doing so i was just trying to make a flat .x plane as my ground.
see http://irrlicht.sourceforge.net/tut008.html , particularly:
In addition, be sure that the 5th parameter of createDevice is true and not false.
replace anode with the name of your IAnimatedMeshSceneNode.anode->addShadowVolumeSceneNode();
In addition, be sure that the 5th parameter of createDevice is true and not false.
me is having another question about shadow.
maybe you already notice the shadow bug which make your shadow to be drawn even behind the wall of a map.
so, i'd like to use another kind of shadow. i'd like to have a more or less black disc under my model and not to use the shadow volume.
the problem is that i don't know how could i do this.
any idea?
maybe you already notice the shadow bug which make your shadow to be drawn even behind the wall of a map.
so, i'd like to use another kind of shadow. i'd like to have a more or less black disc under my model and not to use the shadow volume.
the problem is that i don't know how could i do this.
any idea?