How do I decode a depthTexture into linear space in the [0-1] range in HLSL?

前端 未结 0 1970
不知归路
不知归路 2020-12-03 04:27

I\'ve set a RenderTexture as my camera\'s target texture. I\'ve chosen DEPTH_AUTO as its format so it renders the depth buffer:

I\'m reading this

相关标签:
回答
  • 消灭零回复
提交回复
热议问题