phaser - v4.0.0-rc.4
    Preparing search index...
    • Return a ShaderAdditionConfig for defining a flat normal. This is used to light objects without a normal map.

      Parameters

      • Optionaldisable: boolean

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

      Returns ShaderAdditionConfig