@pixi/filter-color-map
v5.1.1
Published
PixiJS filter to apply a color adjust effect
Downloads
45,513
Readme
ColorMapFilter
PixiJS filter to apply a color-map effect.
Installation
npm install @pixi/filter-color-map
Usage
import {ColorMapFilter} from '@pixi/filter-color-map';
import {Container} from 'pixi.js';
const container = new Container();
const colorMap = new Image();
colorMap.src = 'foo/bar/colorMap.png';
container.filters = [new ColorMapFilter(colorMap)];
Documentation
See https://filters.pixijs.download/main/docs/ColorMapFilter.html