Skip to content

Commit b9a5a1d

Browse files
committed
Disable post-processing on the VR camera since it doesn't seem to do anything
1 parent 6d8cda3 commit b9a5a1d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

TABGVR/Patches/CameraPatches/CameraPatch.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ public static void Start(PlayerCamera __instance)
5252
gameObject.AddComponent<FlareLayer>();
5353
gameObject.AddComponent<DS_HazeView>();
5454

55-
var postProcessing = gameObject.AddComponent<PostProcessLayer>();
56-
postProcessing.volumeTrigger = gameObject.transform;
57-
postProcessing.volumeLayer = LayerMask.NameToLayer("Post");
58-
postProcessing.m_Resources = __instance.GetComponent<PostProcessLayer>().m_Resources;
55+
// var postProcessing = gameObject.AddComponent<PostProcessLayer>();
56+
// postProcessing.volumeTrigger = gameObject.transform;
57+
// postProcessing.volumeLayer = LayerMask.NameToLayer("Post");
58+
// postProcessing.m_Resources = __instance.GetComponent<PostProcessLayer>().m_Resources;
5959

6060
var highlight = gameObject.AddComponent<HighlightingRenderer>();
6161
var highlightReference = __instance.GetComponent<HighlightingRenderer>();

0 commit comments

Comments
 (0)