paint_faces
Paint features like eyes, stripes, or scars on cube faces using coordinates relative to each face, preventing UV math errors and texture misplacement.
Instructions
Paint features onto specific cube faces using coordinates RELATIVE to each face (so [0,0] is that face's top-left corner) — no manual UV math, which is what usually causes misplaced/garbled texture. Use it for eyes, nostrils, mouths, claws, fur tufts, stripes, scars, bandages, armour trim, etc. Either pass one {cube, face, base?, ops?} or a faces array of them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | No | Paint ops (same types as paint_texture), coords relative to the face. | |
| base | No | Optional solid fill for the face before ops (CSS color). | |
| cube | No | Cube uuid/name (single-face form). | |
| face | No | Face direction 'north'|'south'|'east'|'west'|'up'|'down', an array of them, or 'all' (single-face form). | |
| faces | No | Batch form: array of {cube, face, base?, ops?, texture?} items. | |
| texture | No | Texture to paint on / assign (defaults to the face's texture or the default). |