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.
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.
It bother me a lot. Any help will be appreciated.
Only in Deferred Shading or Legacy Deferred Lighting rendering paths you get the dept buffer for free.
Else you have to tell the camera that you need it to be rendered out.
Might be the problem in your case but not sure.