UEConsole Commands
VariableConsole VariableRenderer

r.PathTracing.LightGridVisualize

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

Category: Renderer · Namespace: r

Help

Enables a visualization mode of the light grid density where red indicates the maximum light count has been reached (default = 0) 0: off (default) 1: light count heatmap (red - close to overflow, increase r.PathTracing.LightGridMaxCount) 2: unique light lists (colors are a function of which lights occupy each cell) 3: area light visualization (green: point light sources only, blue: some area light sources)

Usage

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