Search Unity

Why RenderTarget has no Depth?

Discussion in 'Image Effects' started by rampage-xu, Sep 5, 2017.

  1. rampage-xu

    rampage-xu

    Joined:
    Dec 1, 2011
    Posts:
    6
    Hi guys, I am working on a image effect. But there is something wrong with it. When I open the Frame Debug window in unity, I found there is no Depth channel as below.
    image.png
    Since I just get the source render target through OnRenderImage function. How can I get the Depth ?
    And what does the RenderTexutre.ResolveAA actually do? I have disabled "allow msaa" on the camera.
    image2.png
    It bother me a lot. Any help will be appreciated.