Showing the changes to libraries/render-utils/src/FramebufferCache.cpp (1 of 21 files). Show all
Unified · Split
| @@ -104,6 +104,7 @@ void FramebufferCache::createPrimaryFramebuffer() { · 103 unmodified lines | |||
| 104 | _lightingFramebuffer->setRenderBuffer(0, _lightingTexture); | 104 | _lightingFramebuffer->setRenderBuffer(0, _lightingTexture); |
| 105 | _lightingFramebuffer->setDepthStencilBuffer(_primaryDepthTexture, depthFormat); | 105 | _lightingFramebuffer->setDepthStencilBuffer(_primaryDepthTexture, depthFormat); |
| 106 | 106 | ||
| 107 | _deferredFramebuffer->setRenderBuffer(3, _lightingTexture); | ||
| 107 | 108 | ||
| 108 | // For AO: | 109 | // For AO: |
| 109 | auto pointMipSampler = gpu::Sampler(gpu::Sampler::FILTER_MIN_MAG_MIP_POINT); | 110 | auto pointMipSampler = gpu::Sampler(gpu::Sampler::FILTER_MIN_MAG_MIP_POINT); |