By facing
A node of the Style graph, in the Masks group.
A mask of the surfaces facing a direction, such as up.
Takes: normals (normal), x (number), y (number), z (number), within (number) · Gives: mask
Settings
| Setting | What it does | Range | Default |
|---|---|---|---|
| X | The direction's right-left part. | -1 to 1 | 0 |
| Y | The direction's up-down part. | -1 to 1 | 1 |
| Z | The direction's toward-away part. | -1 to 1 | 0 |
| Within | How far from that direction a pixel may face and still be in the mask. | degrees | 45 |
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 by-facing --set KEY=VALUE.
What it wires to
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
Threshold · By part · By material · Noise · Pattern · Solid pixels · Not · And · Or