Skip to content
This repository was archived by the owner on Nov 30, 2020. It is now read-only.

Commit 8395ed7

Browse files
committed
Only reset projection matrix if needed
1 parent cc00034 commit 8395ed7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

PostProcessing/Runtime/PostProcessingBehaviour.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ void OnPostRender()
171171
if (profile == null || m_Camera == null)
172172
return;
173173

174-
m_Camera.ResetProjectionMatrix();
174+
if (!m_RenderingInSceneView && m_Taa.active && !profile.debugViews.willInterrupt)
175+
m_Camera.ResetProjectionMatrix();
175176
}
176177

177178
// Classic render target pipeline for RT-based effects

0 commit comments

Comments
 (0)