Less Than node

Access: Nodes > Math > Less Than

Outputs 1 (white) per channel where A is less than B, otherwise 0 (black). Alpha is 1.0.

Input (A, B) Output (RGBA)

A=0.2, 0.8, 1.0

B=0.5, 0.5, 0.5

1.0, 0.0, 0.0, 1.0

A=0.5, 0.5, 0.5

B=0.5, 0.5, 0.5

0.0, 0.0, 0.0, 1.0 (equal values output 0.0)

A=1.0, 2.0, 3.0

B=0.0, 0.0, 0.0

0.0, 0.0, 0.0, 1.0

Less Than node inputs

A

Primary comparison input.

B Secondary comparison input.

Less Than node outputs

Output

Outputs 1 where A < B, 0 otherwise.