There may be differences between your version of AR Studio and this tutorial because the product is currently in beta and we update it regularly.
Previously we explained how to create a basic mask that tracks a face. In this tutorial, you'll learn how to retouch various facial features in AR Studio.
Please download the sample content to follow along.
If you open the finished effect in the sample content folder, you'll see that the effect you're going to work with is a flower crown.
To get started, 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. First, 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.
Now that your face mesh is in the scene, go to the Inspector panel and click the plus sign next to Material. Then, double-click the material you've created to inspect its properties.
There's a specific type of shader for retouching, so click the arrows next to Shader Type and select Retouching from the menu. As you can see, the retouching shader type has different properties to the default shader, including Skin Smoothing and Eye Whitening. We have some specific values in mind for this effect, but feel free to experiment with the sliders until the retouching material looks the way you want it to. For this effect, we're going to change Skin Smoothing to 83%, Eye Whitening to 58% and Teeth Whitening to 28%. Please preview skin smoothing on your mobile device using the AR Studio Player app to make sure that the result is as expected.
It's also possible to 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.
Congratulations, you've added retouching to an effect!
To recap, in this tutorial you've learned how to create retouching materials and add the smoothing effect to the overall scene.