Newer
Older
pixi.js / src / pixi / filters / ConvolutionFilter.js
@gordyr gordyr on 16 Oct 2014 614 bytes Added Convolution Filter
/**
 * The ConvolutionFilter class applies a matrix convolution filter effect. 
 * A convolution combines pixels in the input image with neighboring pixels to produce an image. 
 * A wide variety of image effects can be achieved through convolutions, including blurring, edge detection, sharpening, embossing, and beveling.
 * 
 * @class ConvolutionFilter
 * @extends AbstractFilter
 * @constructor
 * @param texture {Array} An array of values used for matrix transformation.
 * @param width {Number} Width of the object you are transforming
 * @param height {Number} Height of the object you are transforming
 */