Skip to content

Look and light

For creatorsAdd-on 2.2.2+

What players see on a play link comes from three things you set in Blender: the World’s colour, which is the sky; the lights in your scene; and the scene’s look settings, a set of look.* scene properties for the tone, the environment light, shadows, glow and fog. Anything you leave unset keeps a plain look that runs well on every device, a headset included.

Open the World tab of the Properties editor and set Surface ▸ Color. Players see this colour as the sky, and it gives the scene’s ambient light a faint tint of the same hue.

To draw the environment image as the sky instead, set look.sky to 1 (see the table below).

The viewer lights every scene with its own sun: a light from above that casts shadows. Blender lights you add shine on top of it.

Blender light What players get
Sun A sunlight in the same direction, with its colour and Strength. It casts shadows.
Point A light that shines all around, with its colour. No shadows.
Spot A cone of light, with the cone’s size and blend. No shadows.
Area Shines like a point light. No shadows.

A point, spot or area light’s brightness is its Power in watts divided by 450, and never less than 0.3. Its reach is its Custom Distance when you set one. Otherwise it is the square root of its power in metres, between 8 m and 45 m: a 1,000 W lamp reaches about 32 m.

If you add a Sun of your own, set look.key to 0, so the scene has one sun and one set of shadows. On a scene that follows the world clock, keep the viewer’s sun: it is the one that rises and sets (see Time of day).

Each look setting is a scene property. Open Properties ▸ World ▸ Simulacrum ▸ Look & Time. In its Look box, press Add Setting, pick the setting by the name after look., such as tone (or pick Other… and type a name the list doesn’t have, such as sky), type its Value and press OK. The setting joins the box, where you can change its value or press × to remove it. You can also add one as a string in Properties ▸ Scene ▸ Custom Properties.

Property Values Default What it does
look.tone aces · aces2 · neutral · filmic · hejl · linear aces The tone curve that maps light to screen colour
look.exposure 0.1 to 4 1 The overall brightness. 1 is as lit
look.env studio · sunset · shop · off studio The environment light, an image that lights the scene from all around. off: none
look.envi 0 to 4 1 How strong the environment light is
look.sky 0 · 1 0 1: draw the environment image as the sky, in place of the World colour
look.key 0 · 1 1 The viewer’s sun. 0: off
look.shadows 0 · 1 1 The viewer’s sun casts shadows
look.ssao 0 · 1 0 Ambient occlusion: soft darkening in corners and where things meet
look.ao 0 to 2 0.6 How dark the ambient occlusion is
look.aor 0.05 to 5 0.6 How far the ambient occlusion reaches, in metres
look.bloom 0 to 1 0 A glow around the brightest parts. 0.02 to 0.05 glows; 0.4 floods the screen
look.sharp 0 to 1 0 Sharpening
look.aa 0 · 1 0 Smooths jagged edges
look.dpr 0.5 to 3 1 Render resolution on high-density screens. 2 draws them at full sharpness and costs more

0, off, false and no all turn a setting off. A number outside its range is held to the nearest end.

A play link can name any of these to override the scene, for example &bloom=0.05 (see URL parameters).

Every effect costs time on every frame, and phones and headsets feel it first. Turn effects on one at a time and check the scene on the slowest device you expect players to use.

Set look.fog to a colour and a density, separated by a comma: #9fb3c8,0.02. The fog thickens with distance. A higher density closes in faster. With no density, or one that isn’t a number, it uses 0.02.

Blender’s View Transform and Exposure (in Render ▸ Color Management), the World’s Strength and a world image do not reach a play link. To change the tone and brightness players see, set look.tone and look.exposure. To change the environment light, set look.env and look.envi.

They do shape the editing view that Play opens for a scene with no player (see Preview your scene).

Blender’s Cycles can bake light into the parts of a scene that never move, so they look lit by more than the viewer’s sun. The bakes are in Properties ▸ World ▸ Simulacrum ▸ Lighting Bake (add-on 2.2.0). Each one can take minutes.

Button What it does
Bake Lightmaps Bakes the light that falls on every mesh into a picture of its own, in a lightmaps folder beside your .blend, and tags the mesh with it. A mesh with a lightmap_size property (pixels) bakes finer or coarser than the usual 512.
Bake Ambient Probes Measures the light at every Empty with a probe.ambient property. Moving bodies take on the light of the probes they pass.
Render Reflection Probes Renders the view all around every Empty with a probe.reflection property, whose value is the file to write, such as models/shop_probe.hdr. Shiny things within the probe’s probe.radius reflect the room instead of the sky.

Add the probe and size properties in Object Properties ▸ Custom Properties, with exactly these names. Build carries the baked pictures into the cartridge (add-on 2.2.0), so they show in the published scene. Bake again after you change the lights or move what they fall on. The tags reference lists every probe setting.

  • Only suns cast shadows. Point, spot and area lights light the scene but cast no shadows.
  • Baked lighting needs a build. Play shows the scene without its baked pictures; build the cartridge to see them.
  • A world image in Blender isn’t carried. For the environment light, choose studio, sunset or shop.