Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 303 Bytes

README.md

File metadata and controls

21 lines (15 loc) · 303 Bytes

Vignette Filter for Pixi.js

Vignette effect

Usage

var vignetteFilter = new VignetteFilter({
	size: 0.5,
	amount: 0.5,
	focalPointX: 0.5,
	focalPointY: 0.5
});

/** Assuming container is a Pixi Container */
container.filters.push(vignetteFilter);

License

MIT