new PIXI.filters.SepiaFilter()
This applies a sepia effect to your Display Objects.
Extends
Members
-
paddingnumber
-
The extra padding that the filter might need
-
sepianumber
-
The strength of the sepia.
1
will apply the full sepia effect, and
0
will make the object its normal color. -
uniformsobject
-
The uniforms as an object
Methods
-
inherited applyFilter(renderer, input, output, clear)
-
Applies the filter
Name Type Description renderer
PIXI.WebGLRenderer The renderer to retrieve the filter from
input
PIXI.RenderTarget output
PIXI.RenderTarget clear
boolean Whether or not we want to clear the outputTarget
-
inherited getShader(renderer)
-
Grabs a shader from the current renderer
Name Type Description renderer
PIXI.WebGLRenderer The renderer to retrieve the shader from
-
inherited syncUniform()
-
Syncs a uniform between the class object and the shaders.