Search Unity

Question Screen Space - Overlay to RenderTexture?

Discussion in 'UGUI & TextMesh Pro' started by RakNet, Apr 21, 2023.

  1. RakNet

    RakNet

    Joined:
    Oct 9, 2013
    Posts:
    315
    I need to capture to a RenderTexture UI elements that are under Screen Space - Overlay. The reason I put them in Screen Space - Overlay rather than Screen Space - Camera is because I don't want the UI to be affected by post processing.

    Is there a way I can do this?
     
  2. karliss_coldwild

    karliss_coldwild

    Joined:
    Oct 1, 2020
    Posts:
    602
    Did you consider creating a separate camera which has post processing disabled and using it only for rendering your UI to? The process for disabling postrpocessing for a specific camera might vary based on the rendering pipeline you are using.