UnrealBloomPass Class

Module: Postprocessing

Unreal engine like bloom effect pass.

More information available here

Constructor

UnrealBloomPass

(
  • strength
  • radius
  • threshold
)

Parameters:

  • strength Number

    Bloom effect strength.

  • radius Number

    Bloom effect radius.

  • threshold Number

    White point threshold.

Methods

toJSON

()

Serialize this effect composer to JSON.

Properties

bloomFactors

Array

The size in percent of the screen width. Is clamped by some number. If you need a larger number, use the next lower resolution blur instead (higher number).

bloomTintColors

Array

Modifies the brightness and color of each bloom. Using a black color will not make this pass faster but that can be done.

radius

Number

Bloom effect radius.

smooth

Number

Smooth factor.

strength

Number

Scales the color of the whole bloom effect.

threshold

Number

Defines how many luminance units a color needs to have to affect bloom. In addition to the threshold, there is a linear part (one unit wide) where the color only partly affects the bloom.

To have all scene colors contributing to the bloom, a volume of -1 needs to be used.