Class: AdvancedBloomFilter

AdvancedBloomFilter

The AdvancedBloomFilter applies a Bloom Effect to an object. Unlike the normal BloomFilter this had some advanced controls for adjusting the look of the bloom. Note: this filter is slower than normal BloomFilter.
originalfilter

new AdvancedBloomFilter (options)

Name Type Attributes Description
options AdvancedBloomFilterOptions <optional>

Options for the AdvancedBloomFilter constructor.

Extends

  • Filter

Members

DEFAULT_OPTIONS AdvancedBloomFilterOptions staticreadonly

Default values for options.

bloomScale number

To adjust the strength of the bloom. Higher values is more intense brightness.

Default Value:
  • 1

blur number

The strength of the Blur properties simultaneously

Default Value:
  • 2

brightness number

The brightness, lower value is more subtle brightness, higher value is blown-out.

Default Value:
  • 1

kernels number[]

The kernels of the Blur Filter

pixelSize PointData

The pixel size of the Kawase Blur filter

Default Value:
  • {x:1,y:1}

pixelSizeX number

The horizontal pixelSize of the Kawase Blur filter

Default Value:
  • 1

pixelSizeY number

The vertical pixel size of the Kawase Blur filter

Default Value:
  • 1

quality number

The quality of the Blur Filter

Default Value:
  • 4

threshold number

Defines how bright a color needs to be extracted.

Default Value:
  • 0.5