Clear
Back

Sample Effect: Face Distortion

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.

Building an effect with face distorion

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:

  1. Add a face mesh, as a child of faceTracker0.
  2. Select the face mesh, and go to Deformation in the Inspector.
  3. Click + next to Deformation and select the faceDistortionPack.

Adjusting the 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.

Join the Spark AR Creator's community

Find inspiration, see examples, get support, and share your work with a network of creators.

Join Community

Join the Spark AR Creator's community

Find inspiration, see examples, get support, and share your work with a network of creators.

Join Community

Frequently asked questions

Have a specific question? Maybe it's been answered.


Read FAQs
Was this document helpful?