remove peaking irradiance from default background

This commit is contained in:
Zach Pomerantz 2016-08-16 13:26:33 -07:00
parent 8fdecc6e56
commit 4d0c819173

View file

@ -4279,7 +4279,7 @@ namespace render {
sceneKeyLight->setDirection(DEFAULT_SKYBOX_DIRECTION);
auto defaultSkyboxAmbientTexture = qApp->getDefaultSkyboxAmbientTexture();
sceneKeyLight->setAmbientSphere(defaultSkyboxAmbientTexture->getIrradiance());
// do not set the ambient sphere - it peaks too high, and causes flashing when turning
sceneKeyLight->setAmbientMap(defaultSkyboxAmbientTexture);
qApp->getDefaultSkybox()->render(batch, args->getViewFrustum());