기술 자료

Unity Engine

Unity Engine

shadows

Determines if this light will cast soft or hard shadows, or not cast shadows at all.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public LightShadows shadows { get; set; }

Remarks

Changing this setting can significantly affect visual quality and performance. Typically, turning shadows off boosts performance dramatically at the expense of realism and depth, while enabling soft shadows enhances realism, depth, and visual fidelity at significant performance costs.