# Skybox

A skybox is a panoramic image that surrounds a 3D scene to show a distant environment, such as sky, mountains, a city skyline, or space. The engine draws it behind everything else and moves it with the camera's rotation but not its position, so it always looks infinitely far away. Skyboxes are stored as cubemaps or equirectangular panoramas.

_Rendering · updated 2026-11-16_

---

## What is a Skybox?

A **skybox** is a 360-degree image that wraps around a 3D scene. It shows everything that is too far away to model, such as the sky, the horizon, distant terrain, or a star field. The engine draws the skybox at an infinite distance: it turns when the camera turns, but it never gets closer when the camera moves. That gives the player a convincing sense of a large world at almost no rendering cost.

The name comes from the classic technique of drawing a large textured cube around the camera. Modern engines also use skydomes and spheres, but "skybox" remains the general term.

## How Skyboxes Are Stored

| Format | Description | Common use |
|--------|-------------|------------|
| [Cubemap](/glossary/cubemap) | Six square images for the +X, −X, +Y, −Y, +Z, and −Z sides of a cube | Engine skyboxes, reflection probes |
| Equirectangular | One 2:1 panorama, longitude across and latitude down | Authoring, HDRI lighting, 360° viewers |

Engines such as Unity, Unreal, Godot, and Blender accept one or both formats, and most can convert between them.

## What Skyboxes Do in a Scene

- **Background**: fills the view beyond the playable area.
- **Mood**: time of day, weather, and color set the tone of a level.
- **Lighting and reflections**: many engines sample the skybox for ambient light and reflections, so it also affects how [PBR](/glossary/pbr) materials look.

## Skyboxes in Sloyd

The [Sloyd AI Skybox Generator](/skybox) turns a text prompt into a seamless 360° equirectangular panorama with consistent lighting in every direction, so there is no manual stitching. Pick a style such as Realistic, Cartoon, Cel-Shaded, or Painterly, and describe the time of day, weather, and atmosphere. Every skybox includes six matching cubemap faces, and you can download it as a Blender file, a Roblox ZIP, cubemap face images, or a web embed. Skybox generation is unlimited on Sloyd Plus and Pro. To start from a ready-made sky, browse the [free skyboxes library](/free-skyboxes).

## FAQ

### What is a skybox in a game?

A skybox is the background that surrounds a game world: the sky, clouds, distant mountains, or stars. It is an image wrapped around the scene and drawn behind all other objects, so the player sees an environment that seems endless without the engine having to render distant geometry.

### What is the difference between a skybox and a cubemap?

A skybox is the purpose: a distant background around the scene. A cubemap is one way to store it: six square images for the six sides of a cube. A skybox can also be stored as a single equirectangular panorama, which engines convert to a cubemap internally.

### What resolution should a skybox be?

It depends on the field of view and platform. Equirectangular skyboxes are usually 2:1, such as 4096 × 2048 for most games and 8192 × 4096 when the sky fills large parts of the screen. Cubemap faces are often 1024 or 2048 pixels per side.

### Can a skybox light my scene?

Yes. Many engines use the skybox for ambient lighting and reflections, so objects take on the colors of the sky. A sunset skybox, for example, adds warm reflections to metallic surfaces. For accurate lighting, high dynamic range images give the best results.

### How do I make a skybox with AI?

In Sloyd, open the Skybox Generator, choose a style, and describe the time of day, weather, and atmosphere. Sloyd generates a seamless 360° panorama with six matching cubemap faces that you can download for Blender, Roblox, or the web.

## Related terms

- https://www.sloyd.ai/glossary/cubemap
- https://www.sloyd.ai/glossary/pbr
- https://www.sloyd.ai/glossary/game-ready-asset

---

Source: https://www.sloyd.ai/glossary/skybox
