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

Fix bug for costumize projection matrix #854

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion PostProcessing/Runtime/PostProcessLayer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,8 @@ void OnPreCull()
#if UNITY_2018_2_OR_NEWER
if (!m_Camera.usePhysicalProperties)
#endif
m_Camera.ResetProjectionMatrix();
if (m_CurrentContext.IsTemporalAntialiasingActive())
m_Camera.ResetProjectionMatrix();
m_Camera.nonJitteredProjectionMatrix = m_Camera.projectionMatrix;

#if ENABLE_VR
Expand Down