Image-Based Lighting

Image-based lighting uses textures to add lighting to objects. These textures mimic the light in a specific real world environment - they're known as 'environment textures'.

There are several environment textures built into Spark AR Studio - you can also add your own.

Environment textures are made from images that capture a scene from all directions. For example, using the Office environment texture included in Spark AR Studio would provide an object with similar lighting to an office.

Environment textures should be HDR images. We recommend maximum 4K images.

Using Environment Textures

Environment textures can only be applied to objects that use a physically-based material.

Preset environment textures

Select the material in the Assets panel. In the Inspector Panel:

  1. Check the box next to Environment.
  2. Click the dropdown next to Texture and select New Environment Texture (Preset).
  3. Choose an option from the menu.

You can also add preset environment textures to the Assets panel, and then apply them to materials in your scene:

Adding your own environment textures

There's a huge range of environment textures to choose from on HDRI Haven and other similar websites.


  1. Import the texture into the Assets panel by clicking + next to Assets, and selecting Import from Computer.

  2. Apply it directly to a material in the Inspector panel by selecting New Environment Texture from the dropdown under Environment:

The texture will be listed in the Assets panel. The image in the Assets panel won't look exactly like the texture you imported, because the texture undergoes some processing before it can be used as an environment texture.


Environment textures can increase the size of your effect, which can impact performance.

We recommend:

  1. Only including 1 environment texture in an effect.
  2. Applying the same environment texture to each material in the scene.

Before you export your effect, make sure any unused environment textures have been removed from the Assets panel. Otherwise, they'll still be included in the overall size of your effect.