Spark AR: Spark AR 換背景 02
Tags: SparkAR
TL;DR
- 開 Face Tracking project
- 點左邊 Camera
- 右邊
- [+] Texture Extraction
- [+] Segmentation:選 Person
- 右邊
- Add Object +
- 找 Rectangle
- 右邊
- Width:Fill Width
- Height:Fill Height
- [+] Materials
- 右邊
- 找 Rectangle
- 左邊 material0
- 右邊
- Shader Type:Flat
- Alpha:打勾
- Texture:segmentationMaskTexture0
- Invert:打勾
- Texture
- New Texture:
你自己像要的背景
- New Texture:
- 右邊
圖文並茂
- 開 Face Tracking project
- 點左邊 Camera
- 右邊: [+] Texture Extraction, [+] Segmentation:選 Person
- \
- 右邊: [+] Texture Extraction, [+] Segmentation:選 Person
- Add Object +
- 找 Rectangle
- 右邊 Fill Width, Fill Height,
- [+] Materials
- 找 Rectangle
- 左邊 material0
- Shader Type:Flat
- Alpha:打勾 / Texture:segmentationMaskTexture0 / Invert:打勾
- Texture - New Texture:
你自己像要的背景
- Shader Type:Flat
完成了拉!!!!
玩玩看吧