UEConsole Commands
VariableConsole VariableRenderer

r.PathTracing.VisibleLights

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

Category: Renderer · Namespace: r

Help

Should light sources be visible to camera rays? (default = 0 (off)) 0: Hide lights from camera rays (default) 1: Make all lights visible to camera 2: Make skydome only visible to camera

Usage

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