Eye Depth
Scales a value to world space to represent the depth from the near plane. This value represents a point in world space, determined by the platform you use. For more information, refer to The Depth (Z) direction in Shaders.
In Graph Settings:
• Enable Depth Write.
• Set Depth Write Mode to LinearEye.
0