Nodes > Math > Common > Discard

Used to discard pixels if they shouldn't be drawn. If Bool is true, the pixel will not be drawn. Otherwise, the input value is passed through.
Inputs
| Name | Type | Description |
|---|---|---|
| A | float | Input value to pass through |
| Bool | float | If non-zero value, discard the pixel (don't draw it) |
Outputs
| Name | Type | Description |
|---|---|---|
| A | float | Passed through A value |
Was this page helpful?