Unity Products:Amplify Shader Editor/Component Mask

From Amplify Creations Wiki
Jump to: navigation, 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