mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01: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