Legacy Documentation: Version 4.6
Language: English
How do I use Detail Textures?
How do I make a Mesh Particle Emitter? (Legacy Particle System)

How do I Make a Skybox?

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

A Skybox is a 6-sided cube that is drawn behind all graphics in the game. Here are the steps to create one:

  1. Make 6 textures that correspond to each of the 6 sides of the skybox and put them into your project’s Assets folder.
  2. For each texture you need to change the wrap mode from Repeat to Clamp. If you don’t do this colors on the edges will not match up:
  3. Create a new Material by choosing Assets->Create->Material from the menu bar.
  4. Select the shader drop-down in the top of the Inspector, choose RenderFX->Skybox.
  5. Assign the 6 textures to each texture slot in the material. You can do this by dragging each texture from the Project View onto the corresponding slots.

To Assign the skybox to the scene you’re working on:

  1. Choose Edit->Render Settings from the menu bar.
  2. Drag the new Skybox Material to the Skybox Material slot in the Inspector.

Note that Standard Assets package contains several ready-to-use skyboxes - this is the quickest way to get started!

How do I use Detail Textures?
How do I make a Mesh Particle Emitter? (Legacy Particle System)