Documentation

Unity Engine

Download Unity

Unity Engine

ShadowResolution

Default shadow resolution. Each decrease in quality level halves the resolution of shadows.
Read time 1 minuteLast updated 2 days ago

Definition

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

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.

Fields

Value

Description

HighHigh shadow map resolution.
LowLow shadow map resolution.
MediumMedium shadow map resolution.
VeryHighVery high shadow map resolution.