How to use the @pixi/filter-advanced-bloom.AdvancedBloomFilter function in @pixi/filter-advanced-bloom

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

61 / 100
Full package analysis

Popular @pixi/filter-advanced-bloom functions

Similar packages