Version: 2019.1
如何导入 Alpha 纹理?


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.
  • 将新的天空盒材质拖放到 Skybox 字段。
如何导入 Alpha 纹理?