Skip to main content
Version: 4.55.1

Nodes > Math > Common > Discard

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

NameTypeDescription
AfloatInput value to pass through
BoolfloatIf non-zero value, discard the pixel (don't draw it)

Outputs

NameTypeDescription
AfloatPassed through A value
Was this page helpful?
Yes
No