Use the Face Distortion patch group to add face distortion to projects made with Render Pass patches.
The Face Distortion patch group can only be used in projects using the custom render pipeline.
Before you start, make sure your project includes a blend shape with a material applied to it and a face mesh. Blend shapes are created using external software, then imported into Spark as an asset. You can download a blend shape and learn how to add it to a face mesh in this tutorial
To add face distortion with render passes:
The Face Distortion patch group will be added to the Patch Editor.
Connected as inputs to the group you’ll see:
The output of the patch group is connected to a patch representing the Screen Output property in the Device scene object. This renders the texture, with distortion, in the scene.
Connect a patch representing the face mesh you want to distort.
Connect the camera texture here.
A texture with the distorted face mesh.
In the example below, the Face Distortion patch group renders a face mesh with a blend shape applied to it in the scene. A Scene Render Pass patch renders the children of a null object - a plane and a text object: