UEConsole Commands
VariableConsole VariableRenderer

r.Shadow.DistanceScale

r.Shadow.DistanceScale is a console variable in Unreal Engine 5 (UE5). See what r.Shadow.DistanceScale does, its values, and how to use this cvar in the Unreal console below.

Category: Renderer · Namespace: r

Help

Scalability option to trade shadow distance versus performance for directional lights (clamped within a reasonable range). <1: shorter distance 1: normal (default) >1: larger distance

Usage

Unreal console (open with ~)
> r.Shadow.DistanceScale 1

Console variables take a value. Replace 1 with the setting you need. Run it with no value to print the current one.

Related in r