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.

UI and OnPostRender

Discussion in 'UGUI & TextMesh Pro' started by arturmandas, Aug 22, 2014.

  1. arturmandas

    arturmandas

    Joined:
    Sep 29, 2012
    Posts:
    240
    Is it possible to draw the new UI over OnPostRender, despite what its name says?
    Best regards
     
  2. Tim-C

    Tim-C

    Unity Technologies

    Joined:
    Feb 6, 2010
    Posts:
    2,194
    I'm not sure I understand the question. You could put the UI on a different camera, or use a screen space UI.
     
  3. Tim-C

    Tim-C

    Unity Technologies

    Joined:
    Feb 6, 2010
    Posts:
    2,194
    I'm not sure I understand the question. You could put the UI on a different camera, or use a screen space UI.
     
  4. arturmandas

    arturmandas

    Joined:
    Sep 29, 2012
    Posts:
    240
    I tried rendering UI through custom camera (I use OnPostRender on a different one), but regardless the setting of culling mask, OnPostRender() is being covered by my UI camera.
     
  5. Tim-C

    Tim-C

    Unity Technologies

    Joined:
    Feb 6, 2010
    Posts:
    2,194
    Please raise a bug so we can see exactly what you are doing.