File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -147,9 +147,6 @@ void USDViewer::Initialize(const SampleInitInfo& InitInfo)
147
147
};
148
148
m_pImmediateContext->TransitionResourceStates (_countof (Barriers), Barriers);
149
149
150
- m_PostProcessParams.ToneMappingMode = TONE_MAPPING_MODE_UNCHARTED2;
151
- m_PostProcessParams.ConvertOutputToSRGB = m_ConvertPSOutputToGamma;
152
-
153
150
if (m_UsdFileName.empty ())
154
151
m_UsdFileName = " usd/AppleVisionPro.usdz" ;
155
152
LoadStage ();
@@ -276,7 +273,9 @@ void USDViewer::LoadStage()
276
273
m_RenderParams.SelectedPrimId = {};
277
274
m_Stage.TaskManager ->SetRenderRprimParams (m_RenderParams);
278
275
279
- m_PostProcessParams = {};
276
+ m_PostProcessParams = {};
277
+ m_PostProcessParams.ToneMappingMode = TONE_MAPPING_MODE_UNCHARTED2;
278
+ m_PostProcessParams.ConvertOutputToSRGB = m_ConvertPSOutputToGamma;
280
279
m_Stage.TaskManager ->SetPostProcessParams (m_PostProcessParams);
281
280
282
281
const pxr::TfToken UpAxis = pxr::UsdGeomGetStageUpAxis (m_Stage.Stage );
You can’t perform that action at this time.
0 commit comments