Materials in Spark AR Studio

Use materials to determine how the surface of an object in your effect looks.

For example, how opaque a surface is, or how it responds to light. You can add textures to materials, to add details and interest.

Learn about:

Creating a material

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:

  1. Select the object in the Scene Panel.
  2. In the Inspector panel, click + next to Materials.
  3. Select the material.

When you're adding a material to a 3D object, you'll need to add it to the mesh.

Different materials in Spark AR Studio

There are 6 types of material to choose from in Spark AR Studio. Change the material's type in the Inspector:

  1. Click the dropdown next to Shader Type.
  2. Choose an option from the list.

Each type of material has different properties. For example, you can use the retouching matertial to add a smoothing effect to the scene, and a physically-based material to add realistic metallic details.

Standard

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 and its properties.

Flat

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.

Face Paint

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 effect. 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.

Blended

The blended material includes a blending mode to mix textures and colors.

Retouching

Use this shader to add retouching effects to faces and scenes.

Physically-Based

Use this material to create a 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.