Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Resolved Second camera rendering in render texture has its FoV locked?

Discussion in 'VR' started by Tsequier, Dec 3, 2020.

  1. Tsequier

    Tsequier

    Joined:
    Apr 20, 2016
    Posts:
    23
    Hello,
    Using a new project in Unity 2020.1.15, I tried having a main camera + a second camera that render in a render texture. I want to dynamically change the FoV of the second camera at runtime, but when trying to do so, the slider is moving correctly, but the visual stays locked as a specific FoV. When removing VR from the equation, moving the FoV slider in the Camera works as expected. Am I missing an option? In the old camera, I would have set the Target eye to none, but I cannot find something similar in the new camera in URP. Thanks !
     
  2. Tsequier

    Tsequier

    Joined:
    Apr 20, 2016
    Posts:
    23
    It was due to Oculus being set to multi-pass in the XR plug-in manager
     
    Last edited: Dec 5, 2020
  3. fakkoweb

    fakkoweb

    Joined:
    Jan 13, 2014
    Posts:
    3
    Ok.. but how is the issue solved with multi-pass?