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 program that runs on the GPU. 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:
- 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.
- The High Definition Render Pipeline (HDRP) does not support any of the above Shaders and instead includes multiple sky generation solutions.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。