Skip to content

BlendMode

BlendMode = BLEND_MODES

Defined in: renderer/src/public-types.ts:129

How a display object’s pixels combine with what is already drawn beneath it — accepted by every visual component’s blendMode option.

"normal", "add", "multiply", "screen", "erase", "min", "max", "none" and the -npm variants are GPU-native and work as soon as the renderer starts. The photoshop-style rest ("darken", "overlay", "color-dodge", …) are filter-backed and need a side-effect import in the game’s entry file:

import "pixi.js/advanced-blend-modes";

Without it the renderer logs a warning and draws the object normally.