
Code: Select all
scene::IAnimatedMeshSceneNode *cube = smgr->addAnimatedMeshSceneNode(smgr->getMesh("./media/cube.x"));
cube->addShadowVolumeSceneNode();

Code: Select all
scene::IAnimatedMeshSceneNode *cube = smgr->addAnimatedMeshSceneNode(smgr->getMesh("./media/cube.x"));
cube->addShadowVolumeSceneNode();
You are right, I think mesh had problems, I deleted the cube in blender and made new one, it works now.mongoose7 wrote:Does your cube have outside and inside surfaces?