These are the settings I used,
Code: Select all
smgr->getMeshManipulator()->setVertexColorAlpha( mesh, 0.0f);
node->setMaterialTexture( 0, driver->getTexture("627360main_potw1209a.png"));
node->setMaterialFlag(irr::video::EMF_LIGHTING, false);
node->setMaterialFlag(irr::video::EMF_BACK_FACE_CULLING, false);
node->setMaterialFlag(irr::video::EMF_ZWRITE_ENABLE, true);
node->setMaterialType(irr::video::EMT_TRANSPARENT_ALPHA_CHANNEL);
node->setMaterialType(irr::video::EMT_TRANSPARENT_ADD_COLOR);