Set ambient light when rendering minimap

This commit is contained in:
Marianne Gagnon 2014-06-23 20:09:54 -04:00
parent 4c3cce42ee
commit 9ed57bdd46

View File

@ -992,6 +992,8 @@ void QuadGraph::makeMiniMap(const core::dimension2du &dimension,
oldRttProvider = new IrrDriver::RTTProvider(dimension, name, true);
}
irr_driver->getSceneManager()->setAmbientLight(video::SColor(255, 255, 255, 255));
video::SColor red(128, 255, 0, 0);
createMesh(/*show_invisible part of the track*/ false,
/*enable_transparency*/ false,