gl_clear_gray Command

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

gl_clear_gray

CS2 Only

Command

gl_clear_gray

<0 / 1>

Clears the back buffer to gray each frame when enabled. This helps identify visual issues by painting the screen gray during gameplay or testing.

<0 / 1>

Turn the gray clear effect on (1) or off (0).

sv_cheats Required

Yes

Client or Server Command

Client

Default Value

0

gl_clear_gray Generator

Command

gl_clear_gray

<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

gl_clear_gray Examples

Command

gl_clear_gray

1

Turn on gray clear to paint the screen gray every frame.

Command

gl_clear_gray

0

Turn off gray clear to restore normal screen rendering.