API

Class ThinBloomEffect

The bloom effect spreads bright areas of an image to simulate artifacts seen in cameras

Index
  • Creates a new instance of

    Parameters

    • name: string

      The name of the bloom render effect

    • engine: Nullable<AbstractEngine>

      The engine which the render effect will be applied. (default: current engine)

    • scale: number

      The ratio of the blur texture to the input texture that should be used to compute the bloom.

    • blockCompilation: boolean = false

      If shaders should not be compiled when the effect is created (default: false)

    Returns ThinBloomEffect

    ThinBloomEffect

scale: number

The ratio of the blur texture to the input texture that should be used to compute the bloom.