Hi,
thanks a lot for this nice tutorial!
I have a (basic) question about the depth images. In the following, I refer to this part of the code. If I got it right, the process is as follows:
- The shader gets the depth value;
- The value is mapped between 0 and 1 considering the near and far planes;
- The output value then gets "compressed";
- The final output is then the depth image, which is saved to a PNG file.
I now need to do some offline post-processing (i.e. outside Unity). How can I get back the original depth value for every pixel from the stored image?
Thanks a lot for the help!
Hi,
thanks a lot for this nice tutorial!
I have a (basic) question about the depth images. In the following, I refer to this part of the code. If I got it right, the process is as follows:
I now need to do some offline post-processing (i.e. outside Unity). How can I get back the original depth value for every pixel from the stored image?
Thanks a lot for the help!