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

Commit 55f2ff3

Browse files
committed
Fix TAA + Single Pass warning in Post Process Layer Editor
The warning should only pop up in versions before 2017.3. 2017.3+ is fine, but it was still showing the warning.
1 parent 37569f7 commit 55f2ff3

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

PostProcessing/Editor/PostProcessLayerEditor.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,10 @@ void DoAntialiasing()
175175

176176
if (m_AntialiasingMode.intValue == (int)PostProcessLayer.Antialiasing.TemporalAntialiasing)
177177
{
178+
#if !UNITY_2017_3_OR_NEWER
178179
if (RuntimeUtilities.isSinglePassStereoEnabled)
179180
EditorGUILayout.HelpBox("TAA requires Unity 2017.3+ for Single-pass stereo rendering support.", MessageType.Warning);
181+
#endif
180182

181183
EditorGUILayout.PropertyField(m_TaaJitterSpread);
182184
EditorGUILayout.PropertyField(m_TaaStationaryBlending);

0 commit comments

Comments
 (0)