Unity Products:Amplify Shader Editor/Decode Depth Normal: Difference between revisions
Jump to navigation
Jump to search
ampwiki>Amplify RnD Rick No edit summary |
(No difference)
|
Revision as of 16:48, 25 August 2021
Decode Depth Normal Node
The Decode Depth Normal node decodes both Depth and Normal values from a previously encoded Float4.
NOTE: Node only supported on Built-in pipeline.
Nodes used:
Screen Position
Texture Sample,
Decode Depth Normal
Input Port | Description | Type |
---|---|---|
Encoded | Value previously encoded to be decoded. | Float4 |
Output Port | Description | Type |
---|---|---|
Depth | Depth value within a 0 to 1 range decoded from the encoded pixel value. | Float |
Normal | Normal value decoded from the encoded pixel value. | Float3 |