Unity Products:Amplify Shader Editor/Screen Params

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

Screen Params Node

The Screen Params node outputs current screen or render target useful information like its current Width or Height. This node is commonly used when working on screen space effects.


Nodes used: Screen Position, Screen Params, Texel Size, Multiply, Component Mask, Texture Sample

Output Port Description Type
RT Witdh Current Render Target/Screen width in pixels Float
RT Height Current Render Target/Screen height in pixels Float
1 + 1/Width Current Render Target/Screen inverted width in pixels summed with 1 Float
1 + 1/Height Current Render Target/Screen inverted height in pixels summed with 1 Float

Back to Node List