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 !
↧