Skip to main content
Version: 4.0.0

Shocked

The Shocked generative effect relies on generative adversarial networks (GANs) to create a surprised look.

shocked demo

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 Shocked

tip

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.

To add a Shocked object:

  1. Go to the Hierarchy panel
  2. Click the + Add object button [+]
  3. Go to Generative Effects
  4. Select Shocked
add shocked

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

Shocked in the Hierarchy Panel

The Shocked 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.

shocked render group

Shocked in the Assets Panel

You can find the Shocked asset under the Generative Effects folder in the Assets panel.

shocked asset

To manually add a Shocked asset:

  1. Go to the Assets panel
  2. Click the Add asset button [+]
  3. Go to Generative Effects
  4. Select Shocked

Components

The Shocked object is made up of the following components, found in the Inspector panel: