From 372c52fea55b01469c8c99a8fa50384a87f71f3e Mon Sep 17 00:00:00 2001 From: Zach Pomerantz Date: Tue, 30 Aug 2016 14:43:37 -0700 Subject: [PATCH] restore default ambient skybox --- interface/src/Application.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 7b0c2a31c1..35c2ac1dd8 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -4348,8 +4348,7 @@ namespace render { auto scene = DependencyManager::get()->getStage(); auto sceneKeyLight = scene->getKeyLight(); auto defaultSkyboxAmbientTexture = qApp->getDefaultSkyboxAmbientTexture(); - // set the ambient sphere uniformly - the defaultSkyboxAmbientTexture has peaks that cause flashing when turning - sceneKeyLight->setAmbientSphere(DependencyManager::get()->getWhiteTexture()->getIrradiance()); + sceneKeyLight->setAmbientSphere(defaultSkyboxAmbientTexture->getIrradiance()); sceneKeyLight->setAmbientMap(defaultSkyboxAmbientTexture); // fall through: render defaults skybox } else {