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

Commit 01596c2

Browse files
committed
Added in Editor warning if both TAA and Dynamic Resolution are enabled.
1 parent 2a9c969 commit 01596c2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

PostProcessing/Editor/PostProcessLayerEditor.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ void DoAntialiasing()
162162
if (RuntimeUtilities.isSinglePassStereoSelected)
163163
EditorGUILayout.HelpBox("TAA requires Unity 2017.3+ for Single-pass stereo rendering support.", MessageType.Warning);
164164
#endif
165+
var camera = m_Target.GetComponent<Camera>();
166+
if (camera.allowDynamicResolution)
167+
EditorGUILayout.HelpBox("TAA is not supported with Dynamic Resolution.", MessageType.Warning);
165168

166169
EditorGUILayout.PropertyField(m_TaaJitterSpread);
167170
EditorGUILayout.PropertyField(m_TaaStationaryBlending);

0 commit comments

Comments
 (0)