Looks at the color information in each channel and darkens the base color to reflect the blend color by increasing the contrast between the two.
Available as container.blendMode = 'linear-burn' after importing pixi.js/advanced-blend-modes.
container.blendMode = 'linear-burn'
pixi.js/advanced-blend-modes
import 'pixi.js/advanced-blend-modes';import { Sprite } from 'pixi.js';const sprite = Sprite.from('something.png');sprite.blendMode = 'linear-burn' Copy
import 'pixi.js/advanced-blend-modes';import { Sprite } from 'pixi.js';const sprite = Sprite.from('something.png');sprite.blendMode = 'linear-burn'
Looks at the color information in each channel and darkens the base color to reflect the blend color by increasing the contrast between the two.
Available as
container.blendMode = 'linear-burn'
after importingpixi.js/advanced-blend-modes
.Example