phaser - v4.0.0-rc.4
    Preparing search index...
    • Return a ShaderAdditionConfig for defining the lights and core lighting algorithm in the fragment shader.

      Parameters

      • Optionaldisable: boolean

        Whether to disable the shader addition on creation. Default false.

      Returns ShaderAdditionConfig