Skip to content

Commit

Permalink
Traktor: Optimized dbuffer format setup.
Browse files Browse the repository at this point in the history
  • Loading branch information
apistol78 committed Feb 28, 2024
1 parent 61d50d3 commit 6c7e40c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/World/Shared/Passes/DBufferPass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ render::handle_t DBufferPass::setup(
rgtd.referenceWidthDenom = 1;
rgtd.referenceHeightDenom = 1;
rgtd.targets[0].colorFormat = render::TfR16G16B16A16F; // Albedo (RGBA)
rgtd.targets[1].colorFormat = render::TfR16G16B16A16F; // Roughness (R), Metalness (B), Specular (B)
rgtd.targets[2].colorFormat = render::TfR16G16B16A16F; // Normals (RGB)
rgtd.targets[1].colorFormat = render::TfR11G11B10F; // Roughness (R), Metalness (B), Specular (B)
rgtd.targets[2].colorFormat = render::TfR11G11B10F; // Normals (RGB)
auto dbufferTargetSetId = renderGraph.addTransientTargetSet(L"DBuffer", rgtd, outputTargetSetId, outputTargetSetId);

// Add DBuffer render pass.
Expand Down

0 comments on commit 6c7e40c

Please sign in to comment.