r_rendersun Command

Explore usage, syntax, and examples for the r_rendersun CS2 developer console command.

r_rendersun

CS2 Only

Command

r_rendersun

<0 / 1>

Toggles sun lighting effects in the game to help with debugging or adjusting graphics.

<0 / 1>

Set to 1 to enable sun lighting; set to 0 to disable it.

sv_cheats Required

Yes

Client or Server Command

Unspecified

Default Value

1

r_rendersun Generator

Command

r_rendersun

<0 / 1>
0/1 Arguments Selected

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.

0 / 1

r_rendersun Examples

Command

r_rendersun

0

Turn off sun lighting effects.

Command

r_rendersun

1

Turn on sun lighting effects.