Search Unity

Question Always render UI at Native Resolution when using Screen Space Camera.

Discussion in 'Editor & General Support' started by Evar155, Aug 6, 2022.

  1. Evar155

    Evar155

    Joined:
    Aug 3, 2019
    Posts:
    8
    So I recently switched the Render Mode of my Canvas to Screen Space - Camera so I could use Post-Processing effects but now the Canvas resolution is affected by the Render Scale and I don't want that.
    The UI is supposed to stay at native resolution according to the Render Scale description but it only works when using Screen Space - Overlay.

    Is there a way to make it so that the UI is always rendered at native resolution when using Screen Space - Camera?

    Thanks!
    UI Render.png
     
  2. Kurt-Dekker

    Kurt-Dekker

    Joined:
    Mar 16, 2013
    Posts:
    38,742
    Without knowing a lot more about your problem, perhaps a second camera for your UI is in order, layered so that its depth is above the other camera?