What problem does it solve?
Managing complex visual compositions in PixiJS requires careful control of blend modes to achieve glow, shadows, and color effects while preserving performance. This skill abstracts the complexity by covering both standard and advanced blend modes and by guiding on batching to minimize draw calls.
Core Features & Use Cases
- Support standard blend modes such as normal, add, multiply, screen, erase, min, and max to achieve common compositing results.
- Support advanced blend modes via pixi.js/advanced-blend-modes (color-burn, overlay, hard-light, etc.) for richer visual effects.
- Enable batch-friendly ordering to reduce draw calls when multiple sprites share the same blend mode.
- Use case: compose layered sprites with varying blend modes to create glow, shadows, and color-shifted UI elements in a performant scene.
Quick Start
Set blendMode values on PixiJS sprites to apply the desired compositing effect, starting with standard modes and enabling advanced-blend-modes when needed.