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:
rHelp
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 1Console variables take a value. Replace 1 with the setting you need. Run it with no value to print the current one.
Related in r
r.Shadow.Denoiser.HistoryConvolutionSamplesVarr.Shadow.Denoiser.MaxBatchSizeVarr.Shadow.Denoiser.PreConvolutionVarr.Shadow.Denoiser.ReconstructionSamplesVarr.Shadow.Denoiser.TemporalAccumulationVarr.Shadow.DetectVertexShaderLayerAtRuntimeVarr.Shadow.DrawPreshadowFrustumsVarr.Shadow.EnableModulatedSelfShadowVarr.Shadow.FadeExponentVarr.Shadow.FadeResolutionVarr.Shadow.FarShadowDistanceOverrideVarr.Shadow.FarShadowStaticMeshLODBiasVar