Learn to create the Face Distortion effect!
This effect is one of our featured templates. You can find it by opening Spark AR Studio and selecting Samples, or by downloading the sample content. The sample project includes a 3D object called the Face Distortion Pack. This is a collection of blend shapes, created in a 3D modeling program.
Use the Face Distortion Pack in your own effects to change the shape of faces in lots of different ways. Or, follow these steps to apply any blend shape in your own effects.
If you want to build this effect yourself, open the unfinished effect in the sample content folder. We've already added a retouching effect to a face mesh in the scene.
The face mesh is a 3D model of a face. It works with the face tracker to create a surface that reconstructs someone's expressions. We'll use blend shapes to change the shape of the face mesh, creating the distorted effect.
To add the face distortion effect:
Under Morph Object you'll see a list of several options, each with a slider next to them:
Adjusting each of these sliders will change the shape of part of the face. If you were using a different object, you'd see a different list of options here.
If you'd applied your own object to the face mesh, you'd see a different list of options here.
Adjust the Blend Shape sliders until you're happy with the effect.