The Comparison node will perform a true or false operation on an argument. 



Comparison



Figure 1: Comparison Node


Comparison Parameters

Enabled - Whether this layer is applied or skipped.

Attach to layer - When selected, this layer modifies the input of the next lower layer that is not itself attached to a layer. Otherwise, it applies to the output of the next lower layer.

Operation - The comparison operation to perform on the input, e.g. A < B.

Argument B - The second argument to the operation. Note that argument A is implicitly set from the chosen channels of the background layer.

If true - Output texture that is picked if A op B is true.

If false - Output texture that is picked if A op B is false.

Channels - The channels to which to apply the operation (others are left unmodified).

Opacity - The opacity channel used to control the transparency of this layer.

Blend mode - The blend mode used to mix the RGB values of this layer with those of the background.