We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6ff071 commit ac7c977Copy full SHA for ac7c977
Samples/USDViewer/src/USDViewer.cpp
@@ -294,6 +294,7 @@ void USDViewer::LoadStage()
294
m_PostProcessParams = {};
295
m_PostProcessParams.ToneMappingMode = TONE_MAPPING_MODE_UNCHARTED2;
296
m_PostProcessParams.ConvertOutputToSRGB = m_ConvertPSOutputToGamma;
297
+ m_PostProcessParams.EnableTAA = true;
298
m_Stage.TaskManager->SetPostProcessParams(m_PostProcessParams);
299
300
const pxr::TfToken UpAxis = pxr::UsdGeomGetStageUpAxis(m_Stage.Stage);
@@ -640,6 +641,11 @@ void USDViewer::UpdateUI()
640
641
}
642
643
644
+ if (ImGui::Checkbox("Enable TAA", &m_PostProcessParams.EnableTAA))
645
+ {
646
+ UpdatePostProcessParams = true;
647
+ }
648
+
649
ImGui::TreePop();
650
651
0 commit comments