phaser - v3.90.0
    Preparing search index...
    • Takes the Glow FX Shader source and parses out the SIZE and DIST consts with the configuration values.

      Parameters

      • shader: string

        The Fragment Shader source code to operate on.

      • game: Game

        The Phaser Game instance.

      • Optionalquality: number

        The quality of the glow (defaults to 0.1)

      • Optionaldistance: number

        The distance of the glow (defaults to 10)

      Returns string