Subtracts the blend from the base color using each color channel
Available as container.blendMode = 'subtract' after importing pixi.js/advanced-blend-modes.
container.blendMode = 'subtract'
pixi.js/advanced-blend-modes
import 'pixi.js/advanced-blend-modes';import { Sprite } from 'pixi.js';const sprite = Sprite.from('something.png');sprite.blendMode = 'subtract' Copy
import 'pixi.js/advanced-blend-modes';import { Sprite } from 'pixi.js';const sprite = Sprite.from('something.png');sprite.blendMode = 'subtract'
Subtracts the blend from the base color using each color channel
Available as
container.blendMode = 'subtract'
after importingpixi.js/advanced-blend-modes
.Example