Version: 2019.2
如何导入 Alpha 纹理?

How to make a Skybox

A Skybox is a six-sided cube that Unity draws behind all graphics in the Scene. Here are the steps to create one:

  • Make six Textures that correspond to each of the six 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 do not match up.
  • Create a new Material. To do this, choose Assets > Create > Material from the menu bar.
  • Select the Shader drop-down and choose Skybox/6 Sided.
  • Assign the six Textures to each Texture slot in the Material. To do this, you can drag each Texture from the Project View onto the corresponding slots.

To assign the skybox to the Scene you’re working on:

  • From the menu bar, choose Window > Rendering > Lighting Settings.
  • In the window that appears, select the Scene tab.
  • Drag the new Skybox Material to the Skybox Material slot.
如何导入 Alpha 纹理?