I've got a DirectX cube mesh that has one texture mapped (at least in my 3d modelling tool) to each face of the cube. At runtime in the console, Irrlicht indicates that all the textures are loaded fine. But when it renders, I get the mesh, but no textures.
One odd thing is that if I design the mesh with no textures at all, Irrlicht will render it with all the faces on the cube being white. If I do as I described above, it renders all of it black. Anyone have some insight on this?
Problems with texture mapping.
Problems with texture mapping.
Pronunciation: 'feedback'
Hmm. Tried it but it didn't seem to make any difference. Here's the code I use to set it up:
Neither the lighting or emissiveColor properties changed the outcome
Code: Select all
IAnimatedMesh* regularMesh = smgr->getMesh("./myMesh.x");
IAnimatedMeshSceneNode* regularNode = smgr->addAnimatedMeshSceneNode(regularMesh);
regularNode->setPosition(core::vector3df(0, 0, 5));
regularNode->getMaterial(0).Lighting = false;
regularNode->getMaterial(0).EmissiveColor = video::SColor(0, 50, 50, 50);
Pronunciation: 'feedback'