Unity Products:Amplify Shader Editor/Texel Size

From Amplify Creations Wiki
Jump to navigation Jump to search

Back to Node List

Texel Size Node

The Texel Size node outputs size information for a selected texture. The reference Texture can be either selected via the Reference option on the Node Properties or connecting it to Tex input port.

Note: Using Tex input port or Reference dropdown on Node Properties generate identical results.


Nodes used: Vertex TexCoord, Texture Sample, Texel Size, Scale, Append, Add, Component Mask

Node Parameter Description Default Value
Reference Reference texture to retrieve size information from. When clicked on, lists all available textures on current graph. None


Input Port Description Type
Tex Reference texture to retrieve size information from. Sampler2D
Output Port Description Type
Output Vector containing all available texture size information Vector4
1/Width Inverse width of current referenced texture. Float
1/Height Inverse height of current referenced texture. Float
Width Width value of current referenced texture. Float
Height Height value of current referenced texture. Float

Back to Node List