Version: 2020.1
Using skyboxes
6 Sided skybox

Skybox shaders

Unity provides multiple SkyboxA special type of Material used to represent skies. Usually six-sided. More info
See in Glossary
Shaders for you to use. Each ShaderA small script that contains the mathematical calculations and algorithms for calculating the Color of each pixel rendered, based on the lighting input and the Material configuration. More info
See in Glossary
uses a different set of properties and generation techniques. Each Shader falls into one of the following two categories:

Textured: Generates a skybox from one or multiple textures. The source textures represent the view of the background from all directions. The Skybox Shaders in this category are:

  • 6 Sided.
  • CubemapA collection of six square textures that can represent the reflections in an environment or the skybox drawn behind your geometry. The six squares form the faces of an imaginary cube that surrounds an object; each face represents the view along the directions of the world axes (up, down, left, right, forward and back). More info
    See in Glossary
    .
  • Panoramic.

Procedural: Does not use textures and instead uses properties on the Material to generate a skybox. The Skybox Shader in this category is:

Render pipeline compatibility

Feature Built-in Render Pipeline Universal Render Pipeline (URP) High Definition Render Pipeline (HDRP)
Skybox shaders 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. They both support all of the above Shaders.
  2. The High Definition Render Pipeline (HDRP) does not support any of the above Shaders and instead includes multiple sky generation solutions.
Using skyboxes
6 Sided skybox
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961