Unity Products:Amplify Shader Editor/Clip

From Amplify Creations Wiki
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Back to Node List

Clip Node

The Clip node conditionally discards a pixel before being outputted. This happens when Alpha value is less than Threshold (Alpha - Threshold < 0).
NOTE: This node can only be connected to graphs attached to Output node's fragment input ports.


Nodes used: Texture Sample, Sin Time, Float, Scale And Offset, Clip

Node Parameter Description Default Value
Alpha First value of the clip operation. Only visible if the respective input port is not connected. 0
Threshold Second value of the clip operation. Only visible if the respective input port is not connected. 0


Input Port Description Type
Input Value connected here is directly relayed to output port. Float [1]
Alpha First value of the clip operation. Float [1]
Threshold Second value of the clip operation. Float [1]

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

Back to Node List