History

Drafting ways to rescale in forward

Sam Gateau committed 7 years ago

Commit 52883141 parent 64858099 files · +166 −56Browse files

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

Unified · Split

libraries/render-utils/src/RenderDeferredTask.cpp+1−1
@@ -99,7 +99,7 @@ void RenderDeferredTask::configure(const Config& config) { · 98 unmodified lines
99 auto upsamplePrimaryBufferConfig = config.getConfig<Upsample>("PrimaryBufferUpscale");99 auto upsamplePrimaryBufferConfig = config.getConfig<Upsample>("PrimaryBufferUpscale");
100 assert(preparePrimaryBufferConfig);100 assert(preparePrimaryBufferConfig);
101 assert(upsamplePrimaryBufferConfig);101 assert(upsamplePrimaryBufferConfig);
102 preparePrimaryBufferConfig->setProperty("resolutionScale", config.resolutionScale);102 preparePrimaryBufferConfig->setResolutionScale(config.resolutionScale);
103 upsamplePrimaryBufferConfig->setProperty("factor", 1.0f / config.resolutionScale);103 upsamplePrimaryBufferConfig->setProperty("factor", 1.0f / config.resolutionScale);
104}104}
105 105