@pixi/filter-color-replace
v5.1.1
Published
PixiJS filter to replace a single color
Downloads
42,654
Readme
ColorReplaceFilter
PixiJS filter to replace a single color.
Installation
npm install @pixi/filter-color-replace
Usage
import {ColorReplaceFilter} from '@pixi/filter-color-replace';
import {Container} from 'pixi.js';
const container = new Container();
container.filters = [new ColorReplaceFilter()];
Documentation
See https://filters.pixijs.download/main/docs/ColorReplaceFilter.html