lib/pixi/src/filters/shockwave/ShockwaveFilter.js
function ShockwaveFilter()
{
    core.AbstractFilter.call(this,
        // vertex shader
        null,
        // fragment shader
        fs.readFileSync(__dirname + '/shockwave.frag', 'utf8'),
        // custom uniforms
        {
            center: { type: 'v2', value: { x: 0.5, y: 0.5 } },
            params: { type: 'v3', value: { x: 10, y: 0.8, z: 0.1 } },
            time: { type: '1f', value: 0 }
        }
    );
}
function ShockwaveFilter()
{
    core.AbstractFilter.call(this,
        // vertex shader
        null,
        // fragment shader
        fs.readFileSync(__dirname + '/shockwave.frag', 'utf8'),
        // custom uniforms
        {
            center: { type: 'v2', value: { x: 0.5, y: 0.5 } },
            params: { type: 'v3', value: { x: 10, y: 0.8, z: 0.1 } },
            time: { type: '1f', value: 0 }
        }
    );
}
function ShockwaveFilter ( ) { core . AbstractFilter . call ( this , // vertex shader null , // fragment shader fs . readFileSync ( __dirname + '/shockwave.frag' , 'utf8' ) , // custom uniforms { center : { type : 'v2' , value : { x : 0.5 , y : 0.5 } } , params : { type : 'v3' , value : { x : 10 , y : 0.8 , z : 0.1 } } , time : { type : '1f' , value : 0 } } ) ; }
The ColorMatrixFilter class lets you apply a 4x4 matrix transformation on the RGBA
color and alpha values of every pixel on your displayObject to produce a result
with a new set of RGBA color and alpha values. It's pretty powerful!

@class
@extends AbstractFilter
@memberof PIXI.filters
The ColorMatrixFilter class lets you apply a 4x4 matrix transformation on the RGBA color and alpha values of every pixel on your displayObject to produce a result with a new set of RGBA color and alpha values . It s pretty powerful!