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.
Once you're happy with your graph:
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.
To savea patch group:
The patch group will be listed in the Assets panel:
If your patch group includes shaders, make sure:
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:
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:
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.
The best way to find and share groups of patches is by joining the Spark AR Creator Group.