- Home /
What is the best way to render a depth map to Texture2D?
I know unity is rendering things on a depth map so that it can do z-test. but i never know how to get it out or do anything on it with shader
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612070049im_/https://answers.unity.com/themes/thub/images/avi.jpg)