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

9 lines
460 B
Markdown

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