Use SceneDepth In UI Material


It is Simple Test Material
When CurrentDepth is 100, All Black,and 90 almost white.
How is this converted from the distance to the camera