Use materials to determine how the surface of an object in your effect looks.
For example, how opaque it is or how it responds to light. You can add textures to materials, to add details and interest.
There are a number of premade materials available in Spark AR Studio.
Click Add to Assets in the Assets panel, then select Create Material:
The material will be listed in the Assets panel. To rename it, right-click and select Rename:
To add a material to an object:
When you're adding a material to a 3D object, you'll need to add it to the mesh.
There are 6 types of material to choose from in Spark AR Studio. Change the material's type in the Inspector:
Each type of material has different properties. For example, you can use the retouching material to add a smoothing effect to the scene, and a physically-based material to add realistic metallic details.
This material uses a lighting system called the Phong model that's good for simulating realistic lighting on 3D objects. Find out more about the standard shader..
This material is more performant than the standard material and doesn't respond to lighting - which makes it good for applying to 2D objects. Find out more about the flat material.
Use this material when you're creating a mask effect that shows some of the user's skin underneath a texture - like a tattoo or make up. This is because the face paint shader preserves the luminance of the face underneath, but removes the color. This means your own texture can be multiplied over it. Find out more about the face paint material
The blended material includes a blending mode to mix textures and colors.
Use this material to add retouching effects to faces and scenes.
Use this material to create super realistic looking surfaces. You can apply a combination of albedo, ORM, normal and environment textures to a physically-based material. Find out more about the physically-based material.