History

Separating the normal packing into it s own file and make sure to sclae the filter radius correctly dpeending on the resolution of diffusion

samcake committed 10 years ago

Commit 4742f401 parent 36d58a27 files · +86 −60Browse files

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

Unified · Split

libraries/render-utils/src/DebugDeferredBuffer.cpp+1−1
@@ -414,7 +414,7 @@ void DebugDeferredBuffer::run(const SceneContextPointer& sceneContext, const Ren · 413 unmodified lines
414414 batch.setResourceTexture(HalfNormal, linearDepthTarget->getHalfNormalTexture());
415415
416416 batch.setResourceTexture(Curvature, surfaceGeometryFramebuffer->getCurvatureTexture());
417− batch.setResourceTexture(DiffusedCurvature, diffusedCurvatureFramebuffer->getRenderBuffer(0));
417+ batch.setResourceTexture(DiffusedCurvature, surfaceGeometryFramebuffer->getLowCurvatureTexture());
418418 if (DependencyManager::get<DeferredLightingEffect>()->isAmbientOcclusionEnabled()) {
419419 batch.setResourceTexture(AmbientOcclusion, framebufferCache->getOcclusionTexture());
420420 } else {

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