Skip to content

@modoki/engine / index / BlendMode

Type Alias: BlendMode

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

Sprite blend. normal/additive are honored by both the 2D (PixiJS) and 3D (Three.js) backends; multiply/screen are 2D-VFX modes — the 3D billboard backend maps them to normal (it only special-cases additive), while the Pixi backend maps all four to the matching BLEND_MODES.

Built with Modoki.