Unity Products:Amplify Shader Editor/Decode Depth Normal

From Amplify Creations Wiki
Revision as of 00:06, 2 December 2023 by AmplifyWiki (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Back to Node List

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

Back to Node List