Code: Select all
sceneManager->getRootSceneNode()->setMaterialFlag(irr::video::EMF_LIGHTING, false);
How can I do this without having to change the light sensitivity of each element one by one?
Code: Select all
sceneManager->getRootSceneNode()->setMaterialFlag(irr::video::EMF_LIGHTING, false);