Unity Products:Amplify Shader Editor/Decode Depth Normal

From Amplify Creations Wiki
Jump to: navigation, 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