Legacy Documentation: Version 5.6 (Go to current version)
How do I Import Alpha Textures?
How do I make a Mesh Particle Emitter? (Legacy Particle System)
Other Versions

How do I Make a Skybox?

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

  • Make 6 textures that correspond to each of the 6 sides of the skybox and put them into your project’s Assets folder.
  • 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:
  • Create a new Material by choosing Assets->Create->Material from the menu bar.
  • Select the shader drop-down in the top of the Inspector, choose Skybox/6 Sided.
  • 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.

In this screen shot the textures have been taken from the 4.x StandardAssets/Skyboxes/Textures folder. Note that these textures are already used in SkyBoxes.

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

  • Choose Window->Lighting from the menu bar.
  • In the window that appears select the Scene tab.
  • Drag the new Skybox Material to the Skybox slot.
How do I Import Alpha Textures?
How do I make a Mesh Particle Emitter? (Legacy Particle System)
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961