UEConsole Commands
VariableConsole VariableRenderer

r.RayTracing.GlobalIllumination.MaxShadowDistance

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

Category: Renderer · Namespace: r

Help

Max shadow distance (default = -1.0, distance adjusted automatically so shadow rays do not hit the sky sphere)

Usage

Unreal console (open with ~)
> r.RayTracing.GlobalIllumination.MaxShadowDistance 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