Unity Products:Amplify Shader Editor/Encode Depth Normal
Encode Depth Normal Node
The Encode Depth Normal node encodes both Depth and Normal values into a Float4 variable.
NOTE: Node only supported on Built-in pipeline.
| Input Port | Description | Type |
|---|---|---|
| Depth | Depth value to be encoded. | Float |
| Normal | Normal value to be encoded. | Float3 |
| Output Port | Description | Type |
|---|---|---|
| Out | Encoded Float4 variable | Float4 |