lib/pixi/src/filters/gray/GrayFilter.js
function GrayFilter()
{
    core.AbstractFilter.call(this,
        // vertex shader
        null,
        // fragment shader
        fs.readFileSync(__dirname + '/gray.frag', 'utf8'),
        // set the uniforms
        {
            gray: { type: '1f', value: 1 }
        }
    );
}
function GrayFilter()
{
    core.AbstractFilter.call(this,
        // vertex shader
        null,
        // fragment shader
        fs.readFileSync(__dirname + '/gray.frag', 'utf8'),
        // set the uniforms
        {
            gray: { type: '1f', value: 1 }
        }
    );
}
function GrayFilter ( ) { core . AbstractFilter . call ( this , // vertex shader null , // fragment shader fs . readFileSync ( __dirname + '/gray.frag' , 'utf8' ) , // set the uniforms { gray : { type : '1f' , value : 1 } } ) ; }
This greyscales the palette of your Display Objects.

@class
@extends AbstractFilter
@memberof PIXI.filters
This greyscales the palette of your Display Objects .