File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -147,9 +147,6 @@ void USDViewer::Initialize(const SampleInitInfo& InitInfo)
147147 };
148148 m_pImmediateContext->TransitionResourceStates (_countof (Barriers), Barriers);
149149
150- m_PostProcessParams.ToneMappingMode = TONE_MAPPING_MODE_UNCHARTED2;
151- m_PostProcessParams.ConvertOutputToSRGB = m_ConvertPSOutputToGamma;
152-
153150 if (m_UsdFileName.empty ())
154151 m_UsdFileName = " usd/AppleVisionPro.usdz" ;
155152 LoadStage ();
@@ -276,7 +273,9 @@ void USDViewer::LoadStage()
276273 m_RenderParams.SelectedPrimId = {};
277274 m_Stage.TaskManager ->SetRenderRprimParams (m_RenderParams);
278275
279- m_PostProcessParams = {};
276+ m_PostProcessParams = {};
277+ m_PostProcessParams.ToneMappingMode = TONE_MAPPING_MODE_UNCHARTED2;
278+ m_PostProcessParams.ConvertOutputToSRGB = m_ConvertPSOutputToGamma;
280279 m_Stage.TaskManager ->SetPostProcessParams (m_PostProcessParams);
281280
282281 const pxr::TfToken UpAxis = pxr::UsdGeomGetStageUpAxis (m_Stage.Stage );
You can’t perform that action at this time.
0 commit comments