Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- colorMatrix = [
- 1, 0, 0, 0,
- 0, 1, 0, 0,
- 0, 0, 1, 0,
- 0, 0, 0, 1
- ];
- filter = new PIXI.filters.ColorMatrixFilter();
- filter.matrix = colorMatrix;
- stage.filters = [filter];
- filter.brightness(0.5, false);
- filter.contrast(0.5, true);
- filter.desaturate();
- filter.greyscale(0.4, false);
- filter.hue(180, false);
- filter.negative(true);
- filter.saturate(2, false);
- filter.sepia(false);
- filter.technicolor(true);
- filter.browni(true);
- filter.kodachrome(true);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement