[DesktopVRSwitch] Handle CVRWorld- Post Processing & FOV settings.

This commit is contained in:
NotAKidoS 2023-06-20 18:23:23 -05:00
parent 70ae268149
commit 900c6646af
17 changed files with 62 additions and 48 deletions

View file

@ -57,14 +57,12 @@ public class MetaPortTracker : VRModeTracker
if (intoVR)
{
// Testing
XRSettings.eyeTextureResolutionScale = 1;
XRSettings.gameViewRenderMode = DesktopVRSwitch.EntryRenderVRGameView.Value ? GameViewRenderMode.LeftEye : GameViewRenderMode.None;
//XRSettings.gameViewRenderMode = DesktopVRSwitch.EntryRenderVRGameView.Value ? GameViewRenderMode.LeftEye : GameViewRenderMode.None;
XRSettings.eyeTextureResolutionScale = 1; // unsure if will cause issues with FSR?
SteamVR_Settings.instance.pauseGameWhenDashboardVisible = false;
if (MetaPort.Instance.settings.GetSettingsBool("InteractionTobiiEyeTracking", false))
{
MetaPort.Instance.TobiiXrInitializer.Initialize();
}
return;
}