Version: 2022.3
Language : English
Lighting Settings Asset
Lighting Mode: Baked Indirect

Lighting Mode

This section describes the effect of the Lighting Mode property of a Lighting Settings Asset.

The Lighting Mode determines the behavior of all Mixed Lights in all ScenesA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary
that use the Lighting Settings Asset. The available modes are:

  • Baked Indirect combines real-time direct lighting with baked indirect lighting. This mode provides real-time shadows with real-time shadowmaps. This Lighting Mode offers realistic lighting and reasonable shadow fidelity, and is suitable for mid-range hardware.
  • ShadowmaskA Texture that shares the same UV layout and resolution with its corresponding lightmap. More info
    See in Glossary
    combines real-time direct lighting with baked indirect lighting. It supports baked shadows for distant GameObjectsThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
    See in Glossary
    (with Shadow masks) and blends them automatically with real-time shadows (Shadow maps). Shadowmask Lighting Mode is the most realistic and the most resource-intensive Lighting Mode. You can use Quality Settings to configure its performance and visual fidelity. This Lighting Mode is suitable for high-end or mid-range hardware.
  • Subtractive provides baked direct and indirect lighting. It renders direct real-time shadows for one Directional Light only. This Lighting Mode doesn’t provide particularly realistic lighting results, and is suitable for stylized art or low-end hardware.

Setting a Scene’s Lighting Mode

  1. Select the Lighting Settings Asset for the Scene.
  2. In the InspectorA Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. More info
    See in Glossary
    , navigate to Mixed Lighting.
  3. Use the drop-down menu to set the Lighting Mode.
Lighting Settings Asset
Lighting Mode: Baked Indirect
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961