Equal node

Access: Nodes > Math > Equal

Outputs 1 per channel where A equals B, otherwise 0.

Input (A, B) Output (RGBA)

A=1.2, 2.8, 3.0

B=1.9, 2.1, 3.5

1.0, 1.0, 1.0, 1.0 (floors values first: (1.2)=(1.9)=1)

A=1.0, 2.0, 3.0

B=2.0, 2.0, 2.0

0.0, 1.0, 0.0, 1.0 (only channel Y matches)

A=0.5, 0.5, 0.5

B=1.5, 1.5, 1.5

0.0, 0.0, 0.0, 1.0 (0.5 = 0, 1.5 = 1)

Equal node inputs

A

Primary comparison input.

B Secondary comparison input.

Equal node outputs

Output

Outputs 1 where floor(A) == floor(B), 0 otherwise. Equality is tested on the integer part of each value, making the comparison robust to small floating-point differences.