Rasagar/Library/PackageCache/com.unity.render-pipelines.universal/Documentation~/snippets/shader-graph-blocks/eye-depth.md
2024-08-26 23:07:20 +03:00

460 B

**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](https://docs.unity3d.com/Manual/SL-PlatformDifferences.html). In **Graph Settings**: • Enable **Depth Write**.
• Set **Depth Write Mode** to **LinearEye**. 0