Search Unity

Question Removing distortion from portals using Oculus VR

Discussion in 'VR' started by jafrancis9999, Mar 8, 2021.

  1. jafrancis9999

    jafrancis9999

    Joined:
    Oct 28, 2020
    Posts:
    1
    Hi everyone,
    I have been attempting to implement portals in VR based on this video:


    I am currently just attempting to get it working with the left eye camera (with settings in the OVR camera rig to use per camera eyes to allow for this). The problem is, the camera is off-center from where it should be, I imagine something to do with how the camera is altered to convert it to VR.
    upload_2021-3-8_18-57-42.png
    This picture showcases the distortion I am talking about, using the project linked in the youtube videos description (https://github.com/SebLague/Portals/tree/master) and changing the player to the OVRPlayerController.

    Has anyone got portals working well in VR before? Or any ideas how to solve this? I have also tried the Pocket Portal package in the Oculus store (https://assetstore.unity.com/packages/tools/particles-effects/pocket-portal-vr-85657) but this also showed the same distortion shown in the picture above.

    Thanks for any help