mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-05-28 06:31:56 +02:00
less comments & constant
This commit is contained in:
parent
6ab2dccd38
commit
5e05c41980
1 changed files with 1 additions and 4 deletions
|
@ -432,11 +432,8 @@ void DebugDeferredBuffer::run(const RenderContextPointer& renderContext, const I
|
|||
batch.setResourceTexture(Lighting, deferredFramebuffer->getLightingTexture());
|
||||
}
|
||||
|
||||
// auto deferredLightingEffect = DependencyManager::get<DeferredLightingEffect>();
|
||||
auto lightStage = renderContext->_scene->getStage<LightStage>("LIGHT_STAGE");
|
||||
// assert(deferredLightingEffect->getLightStage()->getNumLights() > 0);
|
||||
auto lightStage = renderContext->_scene->getStage<LightStage>();
|
||||
assert(lightStage->getNumLights() > 0);
|
||||
// auto lightAndShadow = deferredLightingEffect->getLightStage()->getLightAndShadow(0);
|
||||
auto lightAndShadow = lightStage->getLightAndShadow(0);
|
||||
const auto& globalShadow = lightAndShadow.second;
|
||||
if (globalShadow) {
|
||||
|
|
Loading…
Reference in a new issue