Skip to content
Docs
Open Promoeyes

mix

channel · takes key rowsbackgroundsset 45× in templates and rigs

The colour model of a mesh's `bands` field, written beside it: rows `<at> <colour>` (at 0 to 1, up to 8 stops) ramped along `u`, with an optional `accent` along `v` and an optional sun shade.

mix
  0 easeOut 0
  1 1

Attributes

utextWhat the stops run along: `x` (default), `y`, `z`, `height` or `radius`.45×
accentcolour #rrggbbA second colour mixed in along `v`.30×
vtextWhat weights the `accent`: `height` (default), `radius`, `x`, `y`, `z` or `none`.30×
brightnessnumberThe mix's own ambient light, so it reads with no scene lights (default 0: the scene lights it).21×
shadenumberHow much faces turned from the `sun` darken, 0 to 1 (no shade when unset).11×
sun"x y z"The sun direction for the shade, `x y z` (default `1 1 1`).11×

Where it goes