Skip to main content

Type Alias: BlendMode

BlendMode = "normal" | "additive" | "multiply" | "subtractive" | "screen"

Defined in: src/rendering/blendModes.ts:24

Named blend mode for a mobject's rendered material(s).

  • normal: default alpha blending (three.js NormalBlending).
  • additive: add source to destination (AdditiveBlending); good for glow.
  • multiply: multiply source and destination (MultiplyBlending).
  • subtractive: subtract source from destination (SubtractiveBlending).
  • screen: screen blend via CustomBlending (src + dst*(1 - src)).