filters icon indicating copy to clipboard operation
filters copied to clipboard

OldFilmFilter doesn't work

Open GoogleFeud opened this issue 3 years ago • 1 comments

I'm trying to apply the OldFilmFilter to a sprite:

        img.filters = [new OldFilmFilter()];

however, the filter doesn't look like it looks like in the demo - the image just becomes slighly gray, no noise animations or anything else.

I've also tried re-rendering the sprite every tick, still nothing:

props.app.ticker.add(() => props.app.renderer.render(img));

Pixi version: ^6.2.1 Old film filter version: ^4.1.5

GoogleFeud avatar Dec 26 '21 10:12 GoogleFeud

I figured it out - you have to animate it yourself by changing the seed value. The demo is sorta misleading.

GoogleFeud avatar Dec 26 '21 18:12 GoogleFeud