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

Commit a923eda

Browse files
committed
Fixed broken SSR merge
1 parent 4f1bdd7 commit a923eda

3 files changed

Lines changed: 0 additions & 14 deletions

File tree

PostProcessing/Editor/PostProcessLayerEditor.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@
55
using UnityEngine.Rendering.PostProcessing;
66
using UnityEditorInternal;
77
using System.IO;
8-
using ScreenSpaceReflections = UnityEngine.Rendering.PostProcessing.ScreenSpaceReflections;
98

109
namespace UnityEditor.Rendering.PostProcessing
1110
{
1211
using SerializedBundleRef = PostProcessLayer.SerializedBundleRef;
1312
using EXRFlags = Texture2D.EXRFlags;
14-
using SSRPreset = UnityEngine.Rendering.PostProcessing.ScreenSpaceReflections.Preset;
1513

1614
[CanEditMultipleObjects, CustomEditor(typeof(PostProcessLayer))]
1715
public sealed class PostProcessLayerEditor : BaseEditor<PostProcessLayer>
@@ -31,7 +29,6 @@ public sealed class PostProcessLayerEditor : BaseEditor<PostProcessLayer>
3129
SerializedProperty m_FogEnabled;
3230
SerializedProperty m_FogExcludeSkybox;
3331

34-
SerializedProperty m_ShowRenderingFeatures;
3532
SerializedProperty m_ShowToolkit;
3633
SerializedProperty m_ShowCustomSorter;
3734

@@ -67,19 +64,9 @@ void OnEnable()
6764
m_FxaaMobileOptimized = FindProperty(x => x.fastApproximateAntialiasing.mobileOptimized);
6865
m_FxaaKeepAlpha = FindProperty(x => x.fastApproximateAntialiasing.keepAlpha);
6966

70-
m_SSREnabled = FindProperty(x => x.screenSpaceReflections.enabled);
71-
m_SSRPreset = FindProperty(x => x.screenSpaceReflections.preset);
72-
m_SSRMaximumIterationCount = FindProperty(x => x.screenSpaceReflections.maximumIterationCount);
73-
m_SSRResolution = FindProperty(x => x.screenSpaceReflections.resolution);
74-
m_SSRThickness = FindProperty(x => x.screenSpaceReflections.thickness);
75-
m_SSRMaximumMarchDistance = FindProperty(x => x.screenSpaceReflections.maximumMarchDistance);
76-
m_SSRDistanceFade = FindProperty(x => x.screenSpaceReflections.distanceFade);
77-
m_SSRAttenuation = FindProperty(x => x.screenSpaceReflections.attenuation);
78-
7967
m_FogEnabled = FindProperty(x => x.fog.enabled);
8068
m_FogExcludeSkybox = FindProperty(x => x.fog.excludeSkybox);
8169

82-
m_ShowRenderingFeatures = serializedObject.FindProperty("m_ShowRenderingFeatures");
8370
m_ShowToolkit = serializedObject.FindProperty("m_ShowToolkit");
8471
m_ShowCustomSorter = serializedObject.FindProperty("m_ShowCustomSorter");
8572

684 Bytes
Binary file not shown.

PostProcessing/Runtime/PostProcessLayer.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ public enum Antialiasing
3939
PostProcessResources m_Resources;
4040

4141
// UI states
42-
[SerializeField] bool m_ShowRenderingFeatures;
4342
[SerializeField] bool m_ShowToolkit;
4443
[SerializeField] bool m_ShowCustomSorter;
4544

0 commit comments

Comments
 (0)