Rasagar/Library/PackageCache/com.unity.render-pipelines.universal/Documentation~/snippets/shader-graph-blocks/eye-depth.md

9 lines
460 B
Markdown
Raw Normal View History

2024-08-26 13:07:20 -07:00
<tr>
<td>**Eye Depth**</td>
<td>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).</td>
<td>In **Graph Settings**:
&#8226; Enable **Depth Write**.<br/>&#8226; Set **Depth Write Mode** to **LinearEye**.</td>
<td>0</td>
</tr>