Simple face makeup demo with Unity, AR Foundation, and echo3D
Don't have an API key? Make sure to register for FREE at echo3D.
AR Foundation\Scenes\FaceTracking\FaceMesh.unity
.echo3D.cs
inside the echo3D\echo3D.prefab
using the the inspector.AR Session Origin
in the hierarchy. Double click FaceMeshPrefab
under AR Face Manager
in the inspector. Set Material Size
to 1Make sure to use an Alpha transparent texture as a custom shader. The example texture contains eye shadows, eye liners, highlight, lipstick or other coloring. When running the app, it detects a face and overlays the face material.
To create a makeup texture on your own, open the .psd file in the model folder. This model is provided by Google ARCore Augmented Faces Demo
Refer to our documentation to learn more about how to use Unity and echo3D.
Feel free to reach out at support@echo3D.co or join our support channel on Slack.