all of my character models work fine, but for some reason the ground isnt shading/lighting right. I don't need a full 3d environment for my game, so I just made a flat textured ground for my models to walk around on and cast shadows on.
All my models are .x format, and I use the same procedeure to load all my models, but for some reason my characters are shaded/lighted properly, but the ground only responds to ambient lighting. heres a screenshot:
http://rexxz.atrugod.com/lut/screen.JPG
I made sure my ground is loaded with:
ground->setMaterialType(video::EMT_SOLID);
ground->setMaterialFlag(video::EMF_LIGHTING, true);
I'm still learning irrlicht so I played around with different device parameters, but nothing seems to make any difference. any any idea what i could be forgetteng?