mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 09:44:21 +02:00
Post merge with Zach work for environment map
This commit is contained in:
parent
99ba011996
commit
cfcde5032c
1 changed files with 2 additions and 2 deletions
|
@ -323,7 +323,7 @@ void DeferredLightingEffect::render(const render::RenderContextPointer& renderCo
|
|||
/* if (_skyboxTexture) {
|
||||
program = _directionalSkyboxLightShadow;
|
||||
locations = _directionalSkyboxLightShadowLocations;
|
||||
} else {*/
|
||||
} else*/ {
|
||||
program = _directionalAmbientSphereLightShadow;
|
||||
locations = _directionalAmbientSphereLightShadowLocations;
|
||||
}
|
||||
|
@ -331,7 +331,7 @@ void DeferredLightingEffect::render(const render::RenderContextPointer& renderCo
|
|||
/* if (_skyboxTexture) {
|
||||
program = _directionalSkyboxLight;
|
||||
locations = _directionalSkyboxLightLocations;
|
||||
} else {*/
|
||||
} else*/ {
|
||||
program = _directionalAmbientSphereLight;
|
||||
locations = _directionalAmbientSphereLightLocations;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue