grayscale

Turn the child black and white, weighted the way the eye sees brightness.

grayscale(): PointwiseEffect

Import effects from shaders/std and use effects.color.grayscale.

Alpha kept.

Example

effect: grayscale()

See also

  • saturate — Scale the child's saturation.
  • duotone — Repaint the child in two colors: colorA for the shadows, colorB for the highlights.

Used by

Grayscale