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

    Class BloomPassGL

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

    Index

    Constructors

    Methods

    Constructors

    Methods

    • 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