The former SepiaFilter available in pixi v3 seems to have been deleted. Is there another filter we can use in v4 to achieve the same result?
Sepia is available here: https://github.com/pixijs/pixi-filters
The filters were externalized in v4.
OK thanks, I didn't notice.
Actually it seems that the SepiaFilter isn't in the pixi-filters repo either or maybe it has been renamed?
The built in color matrix filter has a method for this
http://pixijs.github.io/docs/PIXI.filters.ColorMatrixFilter.html#sepia
Usage:
var colorMatrix = new PIXI.filters.ColorMatrixFilter();
container.filters = [colorMatrix];
colorMatrix.sepia();
That's right but with ColorMatrixFilter i can't set a percent value for my sepia effect as i used to do with the SepiaFilter.
Hey @louisatome, I hope https://github.com/pixijs/pixi.js/pull/3944 solves your issue. It will allow you to do an interpolation value for the color matrix which would be the same effect as the "scale" of the previous SepiaFilter.
Thanks for being patient while we caught up to you! :)
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.