As said in the title, using ambient light when there is no lights will not work on Ogre 2.1 - using the default lit HLMS - using Metal (and possibly otherwise…)
Most easily reproducible by calling
Code: Select all
sceneManager->setAmbientLight(Ogre::ColourValue(1.0,1.0,1.0), Ogre::ColourValue(0.0,0.0,0.0), Ogre::Vector3(0.0,1.0,0.0));
Metal bails out on a shader compilation error because viewDir is not defined - I suspect some conditionals have been forgotten somewhere but at this point I don't know the end-engine well enough to be sure.