Saving and Sharing Patch Groups

You can save and share groups of patches with other Spark AR Studio creators, and import ready-made patch groups into your own projects. It's a great way to efficiently build effects with logic and interactivity.

Creating a Patch Group

Once you're happy with your graph:

  1. Selecting your graph.
  2. Right-click on the patches, and select Group.

Your patch group will look like this:



You can change the name of the patch group by right-click on the name at the top of the patch group.

Saving a Patch Group

To savea patch group:

  1. Right-click on the group.
  2. Select Create Asset From Group.


The patch group will be listed in the Assets panel:



If your patch group includes shaders, make sure:

  • The input ports have the correct types and values.
  • There's an output port named Color, which will provide the output color.

If you want to, you can also add an output port for Position. This will provide the output position.

If you right click on the patch group in the Assets panel and select Reveal in Finder, you'll see that an .arp file has been be created. You can share this file with other creators!

Any groups of patches you've added to a project will be saved in the patch library, under Saved Patches:

Importing a Patch Group

Either import or drag .arpatch files directly into the Assets panel, like you would any other asset.

Add the group to the Patch Editor by either:

  1. Right-clicking on the group in the Assets panel, and selecting Create Patch.
  2. Dragging the group from the Asset panel straight into the Patch Editor.

If you've added a group of shader patches to your project, the group can be used as a shader to specify the appearance of a material. Its properties will automatically be added to the Inspector panel below Parameters, based on the patch input ports.

Finding and Sharing Patch Groups

The best way to find and share groups of patches is by joining the Spark AR Creator Group.