Skip to content

Scene settings and sky

Keep your tutorial scene open from Edit a script. You already know GameObject components and scripts. This step is about properties stored on the .scene file.

In the Inspector we tweaked one entity at a time. Scene Settings edits the loaded scene (sky, sun, fog, exposure, sound, and more).

Open View -> Scene Settings (Shift+3). Or the globe button on the viewport toolbar (tooltip Scene Settings).

At the top of the panel:

  • Scene Name renames the scene.
  • Script holds an optional scene script. For scripting depth, see Scene and game state.

Scroll down for collapsible categories. The editor lists them in this order:

  • Culling
  • Sky / Environment
  • Sunlight
  • Screen Space AO
  • Screen Space Bounce
  • Reflections
  • Exposure
  • Bloom
  • Wind (Experimental)
  • Fog
  • Wetness (Experimental)
  • Color
  • Sound

For this tutorial we’ll only need Sky / Environment. Every other category can stay at its defaults.

Expand Sky / Environment.

Sky / Environment in Scene Settings

Two things control what you see:

  • The sky panorama mesh draws only when Active and Render Dome are both on.
  • With a Texture File loaded you see the texture. Without one you see a solid color set with Tint.

Try it: set Active to false. The visible sky dome turns off, useful when you want lighting without a backdrop, for example an indoor environment. Set it back to true when you’re done.

  1. Keep Active on.
  2. On Texture File, use the folder icon (tooltip Select file) and pick a sky image (PNG or JPEG, 2:1 equirectangular) from assets/textures/.
  3. Under IBL, leave Active on for environment specular and diffuse (defaults 1.0 / 1.0).

The engine loads the texture and rebakes sky IBL for reflections.

IBL (Image Based Lighting) means the sky itself becomes a light source. The engine rebakes the panorama into an environment probe and uses it for ambient light on shaded areas and for reflections on materials. Everything gets lit to match the backdrop, with no extra fill lights.

  1. File -> Save Scene (Ctrl+S).
  2. Play (Ctrl+P / Alt+P).
  3. Look at the backdrop and how materials catch reflections. If the panorama doesn’t show, check Render Dome.

You have finished the guided tutorial path. More tutorials are coming soon.

Previous: Edit a script: a spinner script and hot reload.

For scripting depth, see Scripting overview, for sky texture details Sky texture. Or use Home and the sidebar for other topics.