Lightmap Parameters
LOD for baked lightmaps

Baked ambient occlusion

Ambient occlusion (AO) approximates how much ambient lighting (lighting not coming from a specific direction) can hit a point on a surface. It darkens creases, holes and surfaces that are close to each other. These areas occlude (block out) ambient light, so they appear darker.

When using only precomputed real-time GI (see documentation on Using precomputed lighting), the resolution for indirect lighting doesn’t capture fine details or dynamic objects. We recommend using a real-time ambient occlusion post effect, which has much more detail and results in higher quality lighting.

To view and enable baked AO, open the Lighting window (menu: Window > Rendering > Lighting Settings) and navigate to the Baked GI section. Tick the Baked GI checkbox if it is unchecked, then tick the Ambient Occlusion checkbox to enable baked AO.

To view and enable baked AO, open the Lighting window (menu: Window > Rendering > Lighting Settings) and navigate to the Mixed Lighting section. Tick the Baked Global Illumination checkbox if it is unchecked, then in Lightmapping Settings tick the Ambient Occlusion checkbox to enable baked AO.

Property Function
Max Distance Use this to set a value for how far the rays are traced before they are terminated.
Indirect Use this to control how much the AO affects indirect light. The higher you set the slider value, the darker the appearance of the creases, holes, and close surfaces are when lit by indirect light.

It’s more realistic to only apply AO to indirect lighting.
Direct Use this to control how much the AO affects direct light. The higher you set the slider value, the darker the appearance of the Scene’s creases, holes, and close surfaces are when lit by direct light.

By default, AO does not affect direct lighting. Use this slider to enable it. It is not realistic, but it can be useful for artistic purposes.

For a modern implementation of real-time ambient occlusion, see documentation on the Ambient Occlusion post-processing effect.

To learn more about AO, see Wikipedia: Ambient Occlusion.

Lightmap Parameters
LOD for baked lightmaps
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961