There may be differences between your version of Spark AR Studio and this tutorial because the product is currently in beta and we update it regularly.

Tutorial: Adding Retouching

Something Went Wrong
We're having trouble playing this video.

In this tutorial you'll learn how to use Spark AR studio to retouch facial features. It's worth learning how to create a basic mask that tracks a face, first.

Download the sample content to follow along. If you open the finished effect, you'll see the effect you're going to work with is a flower crown.

Inserting Face Meshes

Open the unfinished version in the sample content folder. As you can see, the flower crown is already in the scene.

Retouching is made up of 2 parts: the face mesh and the retouching material.

To add a face mesh, right-click on the face tracker in the Scene tab, select Insert and then select Face Mesh.

You should now see a face mesh in the Scene tab and tracking the face in the Viewport.

Creating Retouching Materials

Now your face mesh is in the scene, go to the Inspector panel and click + next to Material. Then, double-click the material you've created to inspect its properties.

Spark AR Studio has several built-in shaders. There's a specific type of shader for retouching. Find this by clicking the arrows next to Shader Type and selecting Retouching from the menu.

The retouching shader type has different properties to the default shader, including Skin Smoothing and Eye Whitening. You can experiment with the sliders until the retouching material looks the way you want it to.

For this effect, we're going to change:

  1. Skin Smoothing to 83%.
  2. Eye Whitening to 58%.
  3. Teeth Whitening to 28%.

You should preview skin smoothing on your mobile device using the Spark AR Player app to make sure the result is as expected.

Retouching Entire Scenes

You can also add the smoothing effect to the overall scene. To do this, check the box next to Fullscreen. The background should now be slightly blurred and softened.