Version: Unity 6 (6000.0)
Language : English
Configure screen space ambient occlusion in URP
Reflections in URP

Troubleshooting shadows in URP

Troubleshooting self-shadowing

Shadow maps are essentially textures projected from the point of view of the Light. Universal RP uses a bias in the projection so that the shadow casting geometry does not self-shadow itself.

In Universal RP, each individual Light component controls its own shadow biasing using the following parameters:

  • Depth Bias
  • Normal Bias
  • Near Plane

Find these settings under the Shadows section. If properties are not visible, change the Bias setting from “Use Pipeline Settings” to “Custom” to expose them.

Using high shadow bias values may result in light “leaking” through Meshes. This is where there is a visible gap between the shadow and its caster, and leads to shadow shapes that do not accurately represent their casters.

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