node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

@pixi/filter-drop-shadow

DropShadowFilter

PixiJS v4 filter to apply a drop shadow effect.

Installation

npm install @pixi/filter-drop-shadow

Usage

import {DropShadowFilter} from '@pixi/filter-drop-shadow';
import {Container} from 'pixi.js';
 
const container = new Container();
container.filters = [new DropShadowFilter()];

Documentation

See https://pixijs.github.io/pixi-filters/docs