Learn Spark AR Studio

Everything you need to know to create an interactive augmented reality experience.


Creating a Target AR Effect

You can create effects that are triggered when the camera is pointed at an image in the real world, for example when someone points the camera at a poster for a movie.

To add target AR to an effect, you'll:

Use this sample content to try out target tracking yourself. In the finished effect, the target texture is an image of a slice of pizza - it's included in the sample content folder. Pointing the camera at this image will make a 3D slice of pizza appear.

Inserting a plane tracker

Start by inserting a plane tracker:

  1. Click Insert.
  2. Select Plane tracker from the menu.

Adding the target texture

In the Inspector panel, you'll see the plane tracker's properties. To add a target texture, go to Targets:

  1. Click +.
  2. Select Target.
  3. Next to Texture, click Choose File....
  4. From your computer, select the texture file that you want to trigger the effect. If you've downloaded the sample content, select pizzaTargetCard.jpg in the textures file.

You should see the texture appear in the Viewport.

Adding the effect that will be triggered by the target

All you need to do now is add the effect you want to trigger when the camera is pointed at the image in the real world.

To do this, simply add the objects, effects or animations you want to appear as a child of the plane tracker. Instead of appearing when a horizontal surface is detected, they'll appear when the target is detected.

If you've downloaded the sample content:

  1. Right-click on the plane tracker in the Scene tab.
  2. Select Insert, then 3D object.
  3. Go to the objects folder in the sample content, and select pizza.dae.

Best practice

Target tracking works best with images that have a lot of visual features. Images that work well have:

  • Many sharp angles.
  • High contrast - both color and black and white images can be used.
  • A resolution of at least 300x300 pixels - test various sizes to see what works best.
  • Lots of unique features that don't repeat very often.

When you're tracking an image, try to make sure there's sufficient light or that the image isn't displayed on a screen (example: computer, television)

Join the Spark AR Creator's community

Find inspiration, see examples, get support, and share your work with a network of creators.

Join Community

Frequently asked questions

Have a specific question? Maybe it's been answered.

Read FAQs