Version: 2022.1
天空
天空盒

SkyManager

Understanding the SkyManager

Unity includes a dedicated manager—the SkyManager—to ensure that environment lighting affects your scene by default. The SkyManager automatically generates an ambient probe and default reflection probe to capture environment lighting.

Unity updates these probes each time environment lighting in your scene changes, until the moment you generate lighting. After you generate lighting, Unity bakes the current environment light values into the probes.

When you specifically use the Generate Lighting control to manually bake your lighting, Unity stops updating the probes from that point onward and only updates them again at the next bake. If you want Unity to continue to update the probes each time the environment lighting changes, enable the Auto Generate option.

If you remove the Lighting Data Asset from your project, Unity continues to update the probes each time the environment lighting changes.

Disabling the SkyManager

To prevent the environment contribution from automatically affecting the lighting result for a scene or GameObject that does not have manually created light maps and Light Probes, disable the default Reflection Probe and the ambient probe.

To disable these probes, navigate to Window > Rendering > Lighting Settings > Environment, then make one of the following changes:

  • Option 1: Set the Intensity Multiplier to 0.
  • Option 2: Use a black Skybox Material.
  • Option 3: Set either the Color or Gradient mode for the Source to black.
天空
天空盒
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961