I have a problem with a new map, I imported in my game. In some Positions(Rotation) of the camera(FPS) the scene is hole black and if i turn a little right or left everything is normal again.
The map is modelled by blender.
Format: DirectX (.x)
Here you can see how I load the map:
Code: Select all
IMeshSceneNode *node = smgr->addMeshSceneNode(smgr->getMesh("map.x"),0,0,vector3df(0,0,0),vector3df(-90,0,180),vector3df(1000,1000,1000));
node->setMaterialTexture(0,driver->getTexture(L"mtexture.png"));
node->setMaterialFlag(EMF_BACK_FACE_CULLING,0);
node->setMaterialFlag(EMF_LIGHTING,0);