Unity Products:Amplify Shader Editor/Component Mask

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

Component Mask Node

The Component Mask node ( shortcut: K key ) outputs a subset of selected channels from its input. Amount of channels to mask depends on input data type.


Nodes used: Light Attenuation, Light Color, Component Mask, Divide, Multiply

Node Parameter Description Default Value
X | R Include X | R channel 0
Y | G Include Y | G channel. Visibility depends on connected input data type. 0
Z | B Include Z | B channel. Visibility depends on connected input data type. 0
W | A Include W | A channel. Visibility depends on connected input data type. 0
Other Parameters
Input Value to be masked. Only visible if the respective input port is not connected. 0


Input Port Description Type
Input Value to be masked. Vector4[1]



  1. ^ Port automatically adapts to all connection types except Matrices and Sampler types.

Back to Node List