Hi, maybe this question has already been asked but I struggle to find a satisfying answer using the search bar so here I am.
Here’s the situation :
Let’s say I have two cameras. One is the main camera rendering the actual scene and the second camera is rendering specifics objects in a special way, with a replacement shader applied on. The second camera renders the result to a render texture wich is sent to the first camera to be used in a post process.
This part is working great for now but I would like also to gather the depth of the second camera in the post process.
How can I manage to do that ?
Thank you.