mirror of
https://github.com/lubosz/overte.git
synced 2025-04-10 04:52:17 +02:00
remove peaking irradiance from default background
This commit is contained in:
parent
8fdecc6e56
commit
4d0c819173
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
||||
|
|
Loading…
Reference in a new issue