Documentation

Unity Engine

Download Unity

Unity Engine

shadowResolution

The default resolution of the shadow maps.
Read time 1 minuteLast updated 3 days ago

Definition

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

Remarks

Important: This API is compatible only with the Built-In Render Pipeline, which is no longer supported. To set the main light shadow map resolution in the Universal Render Pipeline (URP), use Lighting > Main Light > Shadow Resolution in the URP Asset.
Additional Resources: Light.shadowResolution, Shadow mapping.