filters
filters copied to clipboard
OldFilmFilter doesn't work
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
I figured it out - you have to animate it yourself by changing the seed
value. The demo is sorta misleading.