CLEAR

Lighting

There are 5 light types in Spark AR Studio:

By default, every project includes a directional light and an ambient light. You can remove these if you want to - particularly if you're creating an effect with 2D objects, that doesn't need realistic lighting.

You can add multiple lights, but only 4 can be visible in a scene at once. Ambient light and Environment light isn't counted for this purpose.

Having more than one light affect a particular object may have performance implications. Make sure you test your effect on older mobile devices, and check the frame rate is still acceptable.

Ambient Light

An ambient light source that provides each object in the scene with a constant amount of light. Use it to brighten the overall look of your scene.

Properties

Visible

Uncheck this box to stop the light from being rendered in the scene.

Color

Change the color of the light produced by the source.

Intensity

Adjust the brightness of the light in the scene.

Exclude

Stop the light affecting objects on a particular layer.

Enable For

Choose the camera or cameras on a mobile device in which you want to render the light.

Directional Light

A distant light that can be placed anywhere in the scene and shines on each object from the same direction. Use it to simulate sunlight.

Properties

Visible

Uncheck this box to stop the light from being rendered in the scene.

Color

Change the color of the light produced by the source.

Intensity

Adjust the brightness of the light in the scene.

Range

Edit the distance over which the light falls off.

Transformations

Edit the position and rotation of the light in your scene. The position of a directional light can be changed for convenience, but it won't affect the light in the scene.

Exclude

Stop the light affecting objects on a particular layer.

Enable For

Choose the camera or cameras on a mobile device in which you want to render the light.

Point Light

A sphere-shaped light source that's placed at a specific point in the scene and shines in all directions evenly. The intensity falls off with distance. Use it to simulate a lamp.

Properties

Visible

Uncheck this box to stop the light from being rendered in the scene.

Color

Change the color of the light produced by the source.

Intensity

Adjust the brightness of the light in the scene.

Range

Edit the distance over which the light falls off.

Transformations

Edit the position of the light in your scene.

Exclude

Stop the light affecting objects on a particular layer.

Enable For

Choose the camera or cameras on a mobile device in which you want to render the light.

Spot Light

A cone-shaped light source that's placed at a specific point in the scene, and shines a beam of light within the range defined by its 2 constraining cones. Everything inside the inner cone is illuminated and the intensity falls off towards the outer cone. Everything outside the outer cone is in the dark. Intensity also falls off with distance. Use it to simulate torchlight or a headlight.

Properties

Visible

Uncheck this box to stop the light from being rendered in the scene.

Color

Change the color of the light produced by the source.

Intensity

Adjust the brightness of the light in the scene.

Range

Edit the distance over which the light falls off.

Outer Angle

Adjust the outer angle of the light source.

Inner Angle

Adjust the inner angle of the light source.

Transformations

Edit the position and rotation of the light in your scene.

Exclude

Stop the light affecting objects on a particular layer.

Enable For

Choose the camera or cameras on a mobile device in which you want to render the light.

Environment Light

This is a light source that simulates real-world lighting from an environment of your choice, using a texture. There are several environment textures to choose from in Spark AR Studio, or you can add your own.

You can either apply these textures globally, using a scene object called an environment light, or to individual objects using a physically-based material.

Find out more in this guide.

Properties

Environment

Select:

  • New Environment Texture to add your own environment texture.
  • New Environment Texture (Preset) to add one of Spark AR Studio's preset environment textures to your scene.