Templates in Spark AR Studio are complete AR projects you can quickly customize to make your own effects.
To open a template:
In some templates we’ve used blocks to combine assets, objects and patches. Learn more about blocks.
Using this template is the quickest and simplest way to create a world effect with an object that’s sized for the real world. Users of effects made with this template can tap to place, move or rotate your object in their real-world surroundings.
Customize the template
You can replace the template’s lamp object with any object, as long as it’s correctly scaled and measured in meters before you import it to Spark AR Studio. To customize the template:
Choose the devices that can view your effect
The template is set up by default to show your effect on all devices, whether or not they support real scale. This means that objects in your effect will appear arbitrarily scaled to users on unsupported devices. If your effect doesn’t make sense at an arbitrary scale you can make sure it’s only distributed to supported devices. To do so:
Learn how to build a real-scale effect withouth the template.
Select the wings block in the Scene panel and adjust the Inputs in the Inspector to change the hue, position, scale and motion of the wings.
Replace the wings with your own image of a single wing or a set of wings via ReplaceMe. If you choose an image of two wings make sure to check the box to the right of Texure Split in the Inspector to get the same effect.
Transform the color of someone’s hair.
Use the post-processing filter template to apply different visual effects to the whole scene. The template lets you either choose between six different built-in post-processing filters or layer multiple filters on top of each other. Learn more
Use the Elements template to add realistic visual effects to your Spark AR effects. In particular, flames, water and air. In this article, we’ll show you how to edit and customize this template to create your own unique effect. Learn more
Let people place images and objects in the world. The images and objects will be visible through the back camera of a mobile device.
Replace the 2D textures or 3D objects in the Assets panel to make this effect your own.
Make an object appear through a hole in a flat surface. People using this effect can then position the object somewhere in the world.
Replace the object in the Scene panel to customize the template.
Add iris tracking to a project. Adjust values in the Inspector to edit the color and appearance of the iris tracking effect.
Use this template to create a target AR world effect. When the back camera is pointed at a real life target, an effect will play.
Use this template to place objects on the face, like glasses. Just add the objects to your project and drag them into the Scene panel.
Place an object in the world to create a world effect visible through the back camera on a mobile device with a gyroscope.
Use the options in the Inspector to edit the make-up effect on the face in the scene.
This template has background segmentation already set up. Replace the texture applied to the background material to customize the effect.
Use this template to place objects on the head, like hats or crowns. Just add the objects to your project and drag them into the Scene panel.
Adjust options in this template to create color filters. All you need to do is select the object named ColorFilter in the Scene panel, and edit the values in the Inspector.
Use this template to place objects on the neck, like jewelry or a bow tie. Just add the objects to your project and drag them into the Scene panel.
This is a face effect that uses a a physically-based material to create a mask with metallic details, surface texture and realistic lighting.
Select the voice block in the Scene panel and adjust the Inputs in the Inspector to change how the voice of the person using your effect sounds.
Adjust the blendshape in the Inspector to change the shape of someone’s face or facial features.
Any effect that changes the shape of the face must not promote the use or depict the sale of a potentially dangerous cosmetic procedure, as per the Spark AR Policies. This includes effects that depict such procedures through surgery lines.
Some templates can be customized by simply adjusting the options in Spark AR Studio. To customize other templates you’ll need to add your own:
You can choose from a range of 3D objects in the AR Library or make your own. Use the face reference assets to create textures that fit perfectly on someone’s face.
Check the supported file formats before your import any textures and objects.
When you open a template, the object or asset we recommend changing will be highlighted in blue. You can edit other parts of the project too if you want.
Depending on the template you’re editing, you’ll either:
The example below is the Background template. You can replace the texture using the options in the Assets panel:
Drag and drop
Import your own objects like 3D models, then drag and drop them from the Assets panel into the Scene panel. In the example below, we're replacing the object in the Head Decoration template:
Adjust properties in the Inspector
When objects are selected in the Scene panel, make changes to them using the options in the Inspector. In the example below, we're changing the hue in the Color Filter template: