Threshold

A node of the Style graph, in the Masks group.

A mask: on where a number passes a value.

Takes: scalar (scalar), at (number), how (text) · Gives: mask

Settings

SettingWhat it doesRangeDefault
At The number a pixel's value is measured against. -1000 to 1000 0.5
Keep
how
Keep the pixels above the number, or the ones below it. Above, Below above

Every setting is also an input: wire a value into it to change it per pixel. On the command line: pxr graph set game.pixor --which style --node threshold --set KEY=VALUE.

What it wires to

Its scalar input takes a scalar, which these give: Add, Agreement, As a number, Blur, Cavity, Divide, Emissive, Fill light, Fraction, Hold between, Larger, Length, and 21 more.

What it gives, a mask, goes into: And, As a number, Choose by mask, Glint, Grow, Not, Or, Shrink, Step where masked.

In the app, drag a wire from one of its dots: every dot the wire fits is ringed.

How it fits with the rest: the Style graph in the manual.

In the same group

By part · By material · By facing · Noise · Pattern · Solid pixels · Not · And · Or