Version: 2021.1
Sky
Using skyboxes

Skyboxes

A skybox is a cube with a different texture on each face. When you use a skybox to render a sky, Unity essentially places your Scene inside the skybox cube. Unity renders the skybox first, so the sky always renders at the back.

Similar to other sky implementations, you can use a skybox to do the following:

  • Render a skybox around your Scene.
  • Configure your lighting settings to create realistic ambient lighting based on the skybox.
  • Override the skybox that an individual Camera uses, using the skybox component.

Render pipeline compatibility

Feature Built-in Render Pipeline Universal Render Pipeline (URP) High Definition Render Pipeline (HDRP)
Skyboxes Yes (1) Yes (1) No (2)

Notes:

  1. The Built-in Render Pipeline, and the Universal Render Pipeline (URP) both exclusively use skyboxes to render a sky. These skyboxes are Materials that use a skybox Shader.
  2. The High Definition Render Pipeline (HDRP) does not support skybox Materials and instead includes multiple sky generation solutions.
Sky
Using skyboxes