r.PathTracing.LightGridMaxCount
r.PathTracing.LightGridMaxCount is a console variable in Unreal Engine 5 (UE5). See what r.PathTracing.LightGridMaxCount does, its values, and how to use this cvar in the Unreal console below.
Category: Renderer · Namespace:
rHelp
Controls the maximum number of lights per cell in the 2D light grid. The minimum of this value and the number of lights in the scene is used. (default = 128)
Usage
Unreal console (open with ~)
> r.PathTracing.LightGridMaxCount 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.PathTracing.EnableCameraBackfaceCullingVarr.PathTracing.EnableEmissiveVarr.PathTracing.FilterWidthVarr.PathTracing.FlushDispatchVarr.PathTracing.FrameIndependentTemporalSeedVarr.PathTracing.IndirectDispatchVarr.PathTracing.LightGridResolutionVarr.PathTracing.LightGridVisualizeVarr.PathTracing.MaxBouncesVarr.PathTracing.MaxPathIntensityVarr.PathTracing.MaxSSSBouncesVarr.PathTracing.MISCompensationVar