CS2 gl_clear_gray Command

CS2 Command CS2 logo
gl_clear_gray <0 / 1>

This command clears the back buffer to gray every frame when enabled. Primarily used for debugging purposes, it overwrites the screen with a gray color to help identify visual issues.

Argument Information

The syntax for this command is as follows:
Name Description
0 / 1

Enable or disable the gray clear effect.

Extra Information

Find additional information relating to this command below.
sv_cheats Required
Yes
Client or Server Command
Client
Default Value
0
Total CS is the home of CS2 commands We boast the only complete, up-to-date database of all CS2 console commands. View All CS2 Commands
CS2 player
Loading...

Command Generator

Adjust the settings below to automatically generate a command. Once you've got everything right, hit the Copy button and paste it into the console in CS:GO.

gl_clear_gray 0
1/1 arguments filled
0 / 1

gl_clear_gray Examples

gl_clear_gray 1

Enables the gray clear effect, making the screen gray every frame.

gl_clear_gray 0

Disables the gray clear effect, returning the screen to normal.