A game about forced loneliness, made by TACStudios
1# View Direction Node 2 3## Description 4 5Provides access to the mesh vertex or fragment's **View Direction** vector. This is the vector from the vertex or fragment to the camera. Select a **Space** to modify the coordinate space of the output value. 6 7Prior to version 11.0, the **View Direction Node** works differently in HDRP than in URP. In URP, it only stored Object space vectors normalized. HDRP stores all vectors normalized. 8 9From 11.0 onwards, this node stores all vectors normalized in both the **High-Definition Render Pipeline** and the **Universal Render Pipeline**. 10 11If you want to keep using the old behavior in URP outside of object space, replace this node with a [View Vector Node](View-Vector-Node.md). 12 13## Ports 14 15| Name | Direction | Type | Binding | Description | 16|:------------ |:-------------|:-----|:---|:---| 17| Out | Output | Vector 3 | None | View Vector for the Mesh Vertex/Fragment. | 18 19## Controls 20 21| Name | Type | Options | Description | 22|:------------ |:-------------|:-----|:---| 23| Space | Dropdown | Object, View, World, Tangent | Selects coordinate space of **View Direction** to output. |