Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

ARFoundation and screen space camera

Discussion in 'AR' started by nilsdr, Nov 22, 2018.

  1. nilsdr

    nilsdr

    Joined:
    Oct 24, 2017
    Posts:
    374
    For scene transitions we rely on rendering to a rendertexture. To include UI canvases they are set to screenspace camera, but they won't show in front of the camera texture.

    Is there any fix / workaround for this?
     
  2. svg_mBerger

    svg_mBerger

    Joined:
    Nov 5, 2018
    Posts:
    7
    I had the same issue and ended up creating a second Camera that only renders the Screenspace-Camera UI (by using the Camera´s Culling Mask and a seperate Layer for the UI).

    I could´nt find any other solution, and I do´nt think there is one (if you need to use Screenspace - Camera instead of Overlay, which in my case was necessary).