phaser - v4.0.0-rc.4
    Preparing search index...
    • Return a ShaderAdditionConfig for applying lighting to a texture.

      The rotation variable must be available in the vertex renderer.

      Parameters

      • Optionaldisable: boolean

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

      Returns ShaderAdditionConfig