Quantcast
Channel: Questions in topic: "hlsl"
Viewing all articles
Browse latest Browse all 206

Shader - Object Depth

$
0
0
I would like to retrieve the depth of an object but in a *normalized* way, I mean not dependant to the camera distance. I know that it's possible to retrieve the depth of the scene and with a shader apply it on the object. But is it possible to *normalize* it? The depth should not be dependent to the distance of the camera. How can I do that ? Thank you !

Viewing all articles
Browse latest Browse all 206

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>