What problem does it solve?
PixiJS filter effects can be slow or incorrect when you don’t tune shader options, filter bounds, chaining order, and renderer-specific backbuffer needs.
Core Features & Use Cases
- Attach effects via the filter pipeline by assigning one or multiple filters to
container.filters to blur, transform colors, displace pixels, or apply alpha/noise.
- Create custom GLSL/WGSL filters using
Filter.from() (and optionally GlProgram/GpuProgram) with typed resources for uniforms and a deterministic shader pipeline.
- Optimize performance and correctness using
filterArea, resolution, padding, antialias, and blendRequired so effects render crisply without unnecessary per-frame bounds measurement.
- Use community filters (pixi-filters) to quickly stack adjustment/glow-style effects with PixiJS v8 conventions.
- Avoid common pitfalls like using outdated Filter constructors, over-applying filters to many children, or enabling backbuffer-dependent filters without WebGL
useBackBuffer.
Quick Start
Ask the AI to help you apply a blur plus color-matrix correction to a PixiJS v8 sprite by setting sprite.filters to an array of new BlurFilter(...) and new ColorMatrixFilter() instances.