文档

Unity Engine

Unity Engine

shadowResolution

The resolution of the shadow map. Change it to balance shadow visual quality and performance.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public LightShadowResolution shadowResolution { get; set; }

Remarks

Affects how sharp and detailed shadows look and directly impacts GPU usage and frame rate. The result is most visible on shadow edges.
Important: This API is compatible only with the Built-In Render Pipeline.