Small World Engine API Reference - v0.76.20
    Preparing search index...

    Class BloomPassGL

    Handles the Bloom generation (Kawase Dual Filtering) for both WebGL1 and WebGL2.

    Index
    • Generates the Bloom texture from the HDR input texture. Returns the final bloom texture.

      Parameters

      • hdrTexture: WebGLTexture
      • width: number
      • height: number
      • bloomConfig: BloomElement

      Returns WebGLTexture | null