Unity Products:Amplify Shader Editor/Decode Depth Normal: Difference between revisions

From Amplify Creations Wiki
Jump to navigation Jump to search
ampwiki>Amplify RnD Rick
No edit summary
 
m (1 revision imported)
 
(No difference)

Latest revision as of 00:06, 2 December 2023

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