Legacy Documentation: Version 2017.2 (Go to current version)
Baked Indirect mode
Shadowmask
Other Versions

Shadowmask mode

Shadowmask mode is a lighting mode shared by all Mixed Lights in a Scene. To set Mixed lighting to Shadowmask, open the Lighting window (menu: Window > Lighting > Settings), click the Scene tab, navigate to Mixed Lighting and set the Lighting Mode to Shadowmask.

You also need to select the desired Shadowmask mode to use from the Quality Settings (menu: Edit > Project Settings > Quality):

  • Shadowmask: Static GameObjects that cast shadows always use baked shadows.
  • Distance Shadowmask: Unity uses real-time shadows up to the Shadow Distance, and baked shadows beyond.

See documentation on Mixed lighting and Light modes to learn more about the other modes available.


  • 2017–09–18 Page amended with limited editorial review

  • Shadowmask modes added to Quality Settings in 2017.1 NewIn20171

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答