When Spark AR Studio renders a scene, the objects are rendered in a specific order. In general, objects will appear in front of other objects when they're closer to the camera - even when they are all in the same layer.

This might result in objects that you want to appear in front of other objects appearing behind them and vice versa. Use layers control this process, when you need to.

By default, new projects have one layer and every object you insert is assigned to this layer.

However, you can:

  • Add more layers.
  • Change the layer objects are assigned.
  • Adjust the render order of each layer.

Adding New Layers

To add a new layer:

  1. Go to the Layers tab.
  2. Click +.

To rename or remove layers, double-click on the layer and select the relevant option from the menu.

There must always be one layer in a project.

Assigning Objects to Layers

To assign an object to a different layer:

  1. Select the object in the Scene tab.
  2. Go to the Inspector panel and click on the current layer at the top.
  3. Select the layer you want to assign the object to from the menu.

Changing Render Order

The render order is the sequence in which the layers are rendered.

If you have more than one layer in your project, the layer at the top of the list will render first and the layer at the bottom of the list will render last. This won't affect the order your objects appear in unless they're at the same z-position or you use different render modes.

To change the order, click and drag the layers into position.