Create a lens with a new background
- On the
Objects
panel, clickAdd New
and selectScreen Image
- Right click on
Screen Image 0
and select duplicate - Rename
Screen Image 0
toBacckground
- Rename
Screen Image 1
toPerson
- Select the
Background
Object and click theDefault
value of the Texture property in the Inspector panel - Click
Add New
thenImport Files
and select your backgroun image - Adjust the Stretch Mode in the Inspector panel if necessary
- Select the
Person
Object and click theDefault
value of the Material property in the Inspector panel - Click
Add New
and selectUnlit
- Click
Unlit
in the Resources panel - Change Blend Mode in the Inspector panel to
Normal
- Click the value under Base Texture | Texture and change it to
Device Camera Texture
- Check Opacity Texture
- Click the value under Opacity Texture | Texture
- Click
Add New
and selectSegmentation Texture
|Portrait Background
- Click
Portrait Background Segmentation
in the Resource panel and check Invert Mask in the Inspector panel