Unity Products:Amplify Shader Editor/Compute Screen Pos

From Amplify Creations Wiki
Revision as of 17:36, 10 July 2018 by ampwiki>Amplify RnD Rick
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Back to Node List

Compute Screen Pos Node

The Compute Screen Pos node converts a position in clip space into screen space texture coordinates. These coordinates can then be used directly on a Texture Sample as its UV coordinates for doing a screen space-mapped texture sample.



Nodes used: Vertex Position, Object To Clip Pos, Compute Screen Pos, Component Mask, Divide, Texture Sample


Node Parameter Description Default Value
Input Position in clip space to be converted to screen position. Only visible if the respective input port is not connected. 0,0,0,0
Normalize Automatically performs the perspective division ( divide by W on the sample above ) over the result. False


Input Port Description Type
Input Position in clip space to be converted to screen position. Float4


Back to Node List