mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-06-25 16:58:46 +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());
|
batch.setResourceTexture(Lighting, deferredFramebuffer->getLightingTexture());
|
||||||
}
|
}
|
||||||
|
|
||||||
// auto deferredLightingEffect = DependencyManager::get<DeferredLightingEffect>();
|
auto lightStage = renderContext->_scene->getStage<LightStage>();
|
||||||
auto lightStage = renderContext->_scene->getStage<LightStage>("LIGHT_STAGE");
|
|
||||||
// assert(deferredLightingEffect->getLightStage()->getNumLights() > 0);
|
|
||||||
assert(lightStage->getNumLights() > 0);
|
assert(lightStage->getNumLights() > 0);
|
||||||
// auto lightAndShadow = deferredLightingEffect->getLightStage()->getLightAndShadow(0);
|
|
||||||
auto lightAndShadow = lightStage->getLightAndShadow(0);
|
auto lightAndShadow = lightStage->getLightAndShadow(0);
|
||||||
const auto& globalShadow = lightAndShadow.second;
|
const auto& globalShadow = lightAndShadow.second;
|
||||||
if (globalShadow) {
|
if (globalShadow) {
|
||||||
|
|
Loading…
Reference in a new issue