Skyboxes are a wrapper around your entire scene that display the vast beyond of your world.
Property: | Function: |
---|---|
Material | The Material used to render the Skybox, which contains 6 Textures. This Material should use the Skybox Shader, and each of the textures should be assigned to the proper global direction. |
Skyboxes are rendered before anything else in the scene in order to give the impression of complex scenery at the horizon. They are a box of 6 textures, one for each primary direction (+/-X, +/-Y, +/-Z).
You have two options for implementing Skyboxes. You can add them to an individual Camera (usually the main Camera) or you can set up a default Skybox in Render Settings’s Skybox Material property. The Render Settings is most useful if you want all Cameras in your scene to share the same Skybox.
Adding the Skybox Component to a Camera is useful if you want to override the default Skybox set up in the Render Settings. E.g. You might have a split screen game using two Cameras, and want the Second camera to use a different Skybox. To add a Skybox Component to a Camera, click to highlight the Camera and go to .
Unity’s Standard Assets contain 2 pre-setup Skybox materials in
.If you want to create a new Skybox, use this guide.