Question by
D3GAN · Feb 25, 2016 at 09:49 PM ·
shadersdepthdepth buffer
writing _CameraDepthTexture values to file
I need to extract the depth values for the camera screen and write to a file. I read that _CameraDepthTexture is only accessible from shaders. I am not very familiar with shaders is it possible to write to file in shader code? Or is there any other way to extract these information from the _CameraDepthTexture?
Comment
Your answer

Follow this Question
Related Questions
Why setting RenderTextureFormat to Depth freezes unity dead, if i try to preview it in inspector? 0 Answers
Pre-rendered backgrounds with depth map in LWRP? 0 Answers
Obtaining a depth Point Cloud 0 Answers
How to modify depth blended shader for second camera/reflection projection? 0 Answers
Low poly artifacts in specular highlight for toon shader 0 Answers