Class: BloomFilter

PIXI.filters. BloomFilter

new PIXI.filters.BloomFilter()

The BloomFilter applies a Gaussian blur to an object.
The strength of the blur can be set for x- and y-axis separately.

Extends

Members

blurnumber

Sets the strength of both the blurX and blurY properties simultaneously

Default Value:
  • 2

blurXnumber

Sets the strength of the blurX property

Default Value:
  • 2

blurYnumber

Sets the strength of the blurY property

Default Value:
  • 2

paddingnumber

The extra padding that the filter might need

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

Grabs a shader from the current renderer

Name Type Description
renderer PIXI.WebGLRenderer

The renderer to retrieve the shader from

Syncs a uniform between the class object and the shaders.