Version: 2019.3
如何导入 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 纹理?
如何创建聚光灯剪影?
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961