i've made a brick texture and a normal map for it.
i made a test scene with irredit, then i tested it with irrlicht renderer. i found that the normal bump is not obvious... it is just like adding outlines to every single brick. lol
any suggestions?
normal not obvious
Have you added a light?
Irrlicht Demos: http://irrlicht.sourceforge.net/forum/viewtopic.php?f=6&t=45781
i realised that there are some errors when i apply normal map in irredit:
what is that mean?Error: Normal map renderer only supports vertices of type EVT_TANGENTS
Error: Normal map renderer only supports vertices of type EVT_TANGENTS
Error: Normal map renderer only supports vertices of type EVT_TANGENTS
You mean this?:
Code: Select all
scene::IMesh* tangentMesh = smgr->getMeshManipulator()->createMeshWithTangents(
roomMesh->getMesh(0));
room = smgr->addMeshSceneNode(tangentMesh);
room->setMaterialTexture(0, colorMap);
room->setMaterialTexture(1, normalMap);
room->getMaterial(0).EmissiveColor.set(0,0,0,0);
room->setMaterialFlag(video::EMF_FOG_ENABLE, true);
room->setMaterialType(video::EMT_PARALLAX_MAP_SOLID);
room->getMaterial(0).MaterialTypeParam = 0.02f; // adjust height for parallax effect
// drop mesh because we created it with a create.. call.
tangentMesh->drop();
}