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.
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:
The Patch Editor will open, and the Face Retouching patch group will be added. 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 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.
Name | Description |
---|---|
Scene Object | The face mesh that smoothing will be applied to should be connected here. |
Texture | The texture for the smoothing to be applied to - for example, connect a patch representing the camera texture to apply smoothing across the scene. |
Intensity | 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. |
Name | Description |
---|---|
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: