文档

Unity Engine

Unity Engine

ShadowmaskMode

The rendering mode of Shadowmask.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Enum
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public enum ShadowmaskMode

Remarks

Set whether static shadow casters should be rendered into real-time shadow maps.

Fields

Value

Description

DistanceShadowmaskStatic shadow casters will be rendered into real-time shadow maps. Shadowmasks and occlusion from Light Probes will only be used past the real-time shadow distance.
ShadowmaskStatic shadow casters won't be rendered into real-time shadow maps. All shadows from static casters are handled via Shadowmasks and occlusion from Light Probes.