Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question About same camera FOV value has different results in single screen mode and VR mode

Discussion in 'VR' started by realaldrick, Mar 10, 2022.

  1. realaldrick

    realaldrick

    Joined:
    May 19, 2020
    Posts:
    24
    It seems in stereoscopic mode, that is after XR plugin is initiated, the camera FOV will act differently in play mode.
    For example, say, the default VR helmet's FOV is 100, and the camera FOV hence is set to 100, the result when rendering in XR mode/stereoscopic mode will look much closer than 100, as if the FOV value is 60-70.

    When turning of XR, when it becomes common single screen rendering mode. The FOV will be looking familiar again.

    And the problem is, when doing LOD group switch threshold ratio calculation, it seems Unity is using single screen mode's screen space, which makes it looks it switches at a much closer distance in VR mode. This makes me hard to calculate the actual LOD bias and LOD ratio I should use.

    Can anyone confirm and give some opinions, please?
     
  2. GabrielMachadoGomes

    GabrielMachadoGomes

    Joined:
    Dec 18, 2016
    Posts:
    1
    I have stumbled upon this thread where LOD VR Bias calculation was discussed.
    As so it seems, Unity Technologies team itself created an equation "to determine a correct equation that will give anyone a correct bias value for cameras with mismatched FOVs" (quoted from there)

    Take a look : https://forum.unity.com/threads/lodgroup-in-vr.455394/

    Hope it helps!
     
    realaldrick likes this.
  3. realaldrick

    realaldrick

    Joined:
    May 19, 2020
    Posts:
    24
    Yes I am using a similar bias number, just still, the lodgroup's ratio is not super intuitive, guess just have to do more tests in the actual platform.

    That thread proves the number. Thank you for introducing it.

    btw, even the single camera's 9x fov feels apparently different from the vr platform's 9x fov. So I guess try it in actual platform is a must do way.