Hair Eraser
The Hair Eraser generative effect utilizes generative adversarial networks (GANs) to remove short to medium-length hair with one click.


Try creating a wig effect by adding a Hair Eraser object, followed by a Hair Segmentation object.

With Hair Eraser applied, Portrait Segmentation will still detect the user’s true silhouette
The generative effect is applied to match the skin and provide a seamless look. A generative effect will always apply to Face 0—the first detected face.
Add a Hair Eraser Object
Go to the Hierarchy panel, click the Add button [+], go to Generative Effects, and select Hair Eraser.

Adding a Hair Eraser object will automatically add a corresponding Generative Effects Camera object in the Hierarchy panel. You can also find the Hair Eraser asset under the Generative Effects folder in the Assets panel.

You can manually add a Hair Eraser asset by clicking the Add [+] button, going to Generative Effects, and selecting Hair Eraser in the Assets panel.

Adding multiple Generative Effects objects may slow down the performance of your effect. It is recommended that you limit the usage of generative effects. Multiple generative effects targeting the same facial area should not be used together.
Hair Eraser Object in the Hierarchy Panel
The Hair Eraser object, in addition to its corresponding Generative Effects Camera object, appears in the Generative Effects render group in the Hierarchy panel. Learn more about render groups.
