Skip to main content

Subject Segmentation

Subject Segmentation isolates the most prominent object on the screen, allowing you to apply customized textures and effects to it. In the sample below, the coffee cup is identified as the most prominent object.

subject segmentation demo

Requirements

Segmentation has a very high performance impact on iOS devices. Segmentation should not be combined with many other features as doing so will cause low FPS and may subsequently lead to not passing QA

Add Subject Segmentation

To add a Subject Segmentation object:

  1. Open Effect House.
  2. Go to the Hierarchy panel.
  3. Click the Add object button [+].
  4. Go to Segmentation.
  5. Select Subject Segmentation.
add segmentation object

A Segmentation material will automatically be added to the Material property of the Image component when adding a Subject Segmentation object. Segmentation material is useful for quickly adding commonly used segmentation effects to the scene.

Components

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