History

Trying to unify the shaders with/without scattering eve more but found a scribe bug. REnder emissive and lightmap during forward pass

samcake committed 10 years ago

Commit 37f75961 parent fff2a9a21 files · +289 −353Browse files

Showing the changes to libraries/render-utils/src/FramebufferCache.cpp (1 of 21 files). Show all

Unified · Split

libraries/render-utils/src/FramebufferCache.cpp+1−0
@@ -104,6 +104,7 @@ void FramebufferCache::createPrimaryFramebuffer() { · 103 unmodified lines
104104 _lightingFramebuffer->setRenderBuffer(0, _lightingTexture);
105105 _lightingFramebuffer->setDepthStencilBuffer(_primaryDepthTexture, depthFormat);
106106
107+ _deferredFramebuffer->setRenderBuffer(3, _lightingTexture);
107108
108109 // For AO:
109110 auto pointMipSampler = gpu::Sampler(gpu::Sampler::FILTER_MIN_MAG_MIP_POINT);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t