UEConsole Commands
VariableConsole VariableRenderer

r.LightCulling.MaxDistanceOverrideKilometers

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

Category: Renderer · Namespace: r

Help

Used to override the maximum far distance at which we can store data in the light grid. If this is increase, you might want to update r.Forward.LightGridSizeZ to a reasonable value according to your use case light count and distribution. <=0: off >0: the far distance in kilometers.

Usage

Unreal console (open with ~)
> r.LightCulling.MaxDistanceOverrideKilometers 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