Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


LightShadowCasterMode

Allows mixed lights to control shadow caster culling when Shadowmasks are present.
Read time 1 minuteLast updated 5 days ago

Definition

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

Fields

Value

Description

DefaultUse the global Shadowmask Mode from the quality settings.
DistanceShadowMaskRender all shadow casters into the shadow map. This corresponds with the distance Shadowmask mode.
ShadowMaskRender only non-lightmapped objects into the shadow map. This corresponds with the Shadowmask mode.