Unity Products:Amplify Shader Editor/Clip: Difference between revisions
Jump to navigation
Jump to search
ampwiki>Amplify RnD Rick No edit summary |
AmplifyWiki (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 00:06, 2 December 2023
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] |