How to use @pixi/filter-advanced-bloom - 1 common examples

To help you get started, we’ve selected a few @pixi/filter-advanced-bloom examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github HaliteChallenge / Halite-III / libhaliteviz / src / map.js View on Github external
attach(container) {
        container.addChild(this.pointer);
        container.addChild(this.tintMap);
        container.addChild(this.highlight);
        container.filters = [new AdvancedBloomFilter({threshold: 0, brightness: 1.0})];
        container.filterArea = new PIXI.Rectangle(0, 0, this.renderer.width, this.renderer.height);

        this.container = container;
    }

@pixi/filter-advanced-bloom

PixiJS filter to render Bloom Filter (with highlight) effect

MIT
Latest version published 2 years ago

Package Health Score

64 / 100
Full package analysis

Popular @pixi/filter-advanced-bloom functions