Unity Products:Amplify Shader Editor/Clip

From Amplify Creations Wiki
Revision as of 16:48, 5 December 2018 by ampwiki>Amplify RnD Rick
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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