Unity Products:Amplify Shader Editor/Screen Params: 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

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