Command
r_directlighting
<0 / 1>Explore usage, syntax, and examples for the r_directlighting CS2 developer console command.
r_directlighting
CS2 Onlyr_directlighting
<0 / 1>Toggle direct lighting on or off to control how light sources illuminate the environment in the game.
Set to 1 to enable direct lighting or 0 to disable it.
Yes
Unspecified
1
r_directlighting Generator
r_directlighting
<0 / 1>Set the options below to auto-generate your command. When everything looks good, click the Copy button and paste it into your in-game console.
r_directlighting Examples
r_directlighting
0
Turn off direct lighting to change how environments are lit by ignoring direct light sources.
r_directlighting
1
Turn on direct lighting to make environments look more realistic using direct light sources.