Search Unity

eyeTextureHeight does not match my device resolution

Discussion in 'VR' started by turdann, Aug 7, 2019.

  1. turdann

    turdann

    Joined:
    Dec 29, 2012
    Posts:
    43
    Hi,
    I'm developing with an standard Oculus Rift, which has a resolution of 2160x1200.

    But when I look for the value of UnityEngine.XR.XRSettings.eyeTextureHeight it says that it is 1600.

    The eyeTextureResolutionScale is set to 1, so I expected to have an eyeTextureHeight of 1200 (the actual height of the device * eyeTextureResolutionScale).

    Could someone help me with that?

    Thanks
     
  2. tspk91

    tspk91

    Joined:
    Nov 19, 2014
    Posts:
    131
    I'm having the same problem for now just using a lower factor.