Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

HDRP Onwillrenderobject is called but camera is null

Discussion in 'Graphics Experimental Previews' started by Amitloaf, Jul 21, 2019.

  1. Amitloaf

    Amitloaf

    Joined:
    Jan 30, 2012
    Posts:
    97
    It seems OnWillRenderObject is called properly but camera is always null. Is it a bug?
     
  2. Amitloaf

    Amitloaf

    Joined:
    Jan 30, 2012
    Posts:
    97
    Ok I need to know when something is visible in frustrum and when it becomes invisible. I used this to make sure I can still render this in the main camera but now i can't differentiate between the cameras so it doesn't help me anymore. Any suggestions?