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

Split Screen Rendering URP 2020.1

Discussion in 'Universal Render Pipeline' started by Aoedipus, Oct 12, 2020.

  1. Aoedipus

    Aoedipus

    Joined:
    Jan 31, 2019
    Posts:
    25
    To set up a split screen in URP, the docs on rendering from multiple cameras to the same render target (https://docs.unity3d.com/Packages/c...nual/rendering-to-the-same-render-target.html) all make a point of stating "Ensure that Output Target is set to Camera." Herein lay the problem, there is no such option. The closest I can find is the "Output Texture" field to link a render texture to. What's the workaround?
     
    Last edited: Oct 12, 2020
    VirtualPierogi likes this.
  2. VirtualPierogi

    VirtualPierogi

    Joined:
    Sep 3, 2012
    Posts:
    54
    The same issue here, the documentation is misleading or incompete.
    Side by side rendering now gives me only one camera with the other one black.
    upload_2021-8-10_14-46-37.png
     
  3. MidniteOil

    MidniteOil

    Joined:
    Sep 25, 2019
    Posts:
    340
    Bump. I'm running into the same issue. I'm working on a Defender remake and I want to use a 2nd camera to display a "radar" on the top portion of the screen:
    upload_2022-11-1_12-43-57.png
     
  4. Pnvanol

    Pnvanol

    Joined:
    Jan 11, 2016
    Posts:
    110
    any solution for this?
     
  5. ShiinaRinne

    ShiinaRinne

    Joined:
    May 25, 2020
    Posts:
    2
    Don't worry about it, just modify the
    Viewport Rect
    directly

    Unity 2020.1.0f1
    upload_2023-9-26_22-19-45.png upload_2023-9-26_22-19-53.png
     

    Attached Files:

    Pnvanol likes this.
  6. Pnvanol

    Pnvanol

    Joined:
    Jan 11, 2016
    Posts:
    110
    Ok thank you for your help, I got it working by simply disabling the pixel perfect camera to enable split screen