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

Commit 21be90d

Browse files
committed
Warning in PostProcessLayer InspectorGUI for SPS and pre-2017.2
SPS is only officially supported in 2017.2+ because of XRSettings.eyeTextureDesc. There are manual workarounds, but they aren't configured yet. Might be in the future.
1 parent 55f2ff3 commit 21be90d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

PostProcessing/Editor/PostProcessLayerEditor.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,11 @@ public override void OnInspectorGUI()
116116

117117
var camera = m_Target.GetComponent<Camera>();
118118

119+
#if !UNITY_2017_2_OR_NEWER
120+
if (RuntimeUtilities.isSinglePassStereoEnabled)
121+
EditorGUILayout.HelpBox("Unity 2017.2+ required for full Single-pass stereo rendering support.", MessageType.Warning);
122+
#endif
123+
119124
DoVolumeBlending();
120125
DoAntialiasing();
121126
DoFog(camera);

0 commit comments

Comments
 (0)