Patch Editor
Render Pass Patches
Face Retouching with Render Pass Patches

Face Retouching with Render Pass Patches

Use the Face Retouching patch group to add retouching to projects made with Render Pass patches.

The Face Retouching patch group can only be used in projects using Render Pass patches.

Adding the Face Retouching patch group

Create the Face Retouching patch group from the properties of a retouching material that’s applied to a face mesh. To create the Face Retouching patch group:

  1. In the Scene panel, click Add Object and select Face Mesh from the menu.
  2. Select the face mesh.
  3. In the Inspector, click + next to Materials to create a material.
  4. Select the material in the Assets panel.
  5. In the Inspector, change the Shader Type to Retouching.
  6. Next to Render Pipeline, click the Create button.

The Patch Editor will open, and the Face Retouching patch group will be added. Connected as inputs to the group you’ll see:

  • A patch representing the camera texture, which is the video feed captured when your effect is open in the camera, represented as a texture which retouching can be applied to.
  • A patch representing the face mesh, which is the object with the retouching material applied to it.

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 retouching, in the scene.

Edit the values in the Face Retouching patch group to customize the retouching effect. For example, edit the value next to Intensity to make the effect stronger or more subtle, using a number between 0 and 1. Or, uncheck the box next to Full Frame to only apply retouching to the face.

If another render pass patch is connected to the Device output patch, you may need to connect the Face Retouching patch group to the rest of the graph yourself.

The Face Retouching patch group contains a number of Shader Render Pass patches, connected to Shader Asset patches. The Shader Asset patches are also listed in the Assets panel.



Scene Object

The face mesh that smoothing will be applied to should be connected here.


The texture for the smoothing to be applied to - for example, connect a patch representing the camera texture to apply smoothing across the scene.


The intensity of the smoothing effect, a value between 0 and 1.

Full Frame

Checking this box applies smoothing to the whole input texture. If unchecked, smoothing is only applied to the face mesh.



Face Texture

The texture with smoothing applied.


In the example below, the Face Retouching patch group renders a face mesh with a retouching applied to it in the scene. A Scene Render Pass patch renders the children of a null object - a plane and a text object: