Skip to content

Commit ac7c977

Browse files
USD Viewer: enabled TAA
1 parent f6ff071 commit ac7c977

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Samples/USDViewer/src/USDViewer.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ void USDViewer::LoadStage()
294294
m_PostProcessParams = {};
295295
m_PostProcessParams.ToneMappingMode = TONE_MAPPING_MODE_UNCHARTED2;
296296
m_PostProcessParams.ConvertOutputToSRGB = m_ConvertPSOutputToGamma;
297+
m_PostProcessParams.EnableTAA = true;
297298
m_Stage.TaskManager->SetPostProcessParams(m_PostProcessParams);
298299

299300
const pxr::TfToken UpAxis = pxr::UsdGeomGetStageUpAxis(m_Stage.Stage);
@@ -640,6 +641,11 @@ void USDViewer::UpdateUI()
640641
}
641642
}
642643

644+
if (ImGui::Checkbox("Enable TAA", &m_PostProcessParams.EnableTAA))
645+
{
646+
UpdatePostProcessParams = true;
647+
}
648+
643649
ImGui::TreePop();
644650
}
645651

0 commit comments

Comments
 (0)