Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

gl clear

From Quake Wiki

Revision as of 00:36, 31 October 2007 by QuakeWiki (talk | contribs) (New page: {{lowercase-underscores}}{{Infobox Console variable |name=gl_clear |default-value=0 |saved-to-config=no }} Versions: GLQuake When set to a non-zero value, gl_clear will clear the colo...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:lowercase-underscores

gl_clear
Default value: "0"
Saved to config.cfg: no

Versions: GLQuake

When set to a non-zero value, gl_clear will clear the color-buffer. Basically, this means that when the camera can see into the [void], either because of the map extending past the farclip plane or there is some kind of corruption of the map data. This is often used as a debugging tool as the 'gl_clear' color is red, therefore allowing you to see such holes quite clearly against the browns, blue and beiges of the quake world. Other people have also used it when cheating to be better able to make sense of the void whilst noclipping outside of the world.

On older systems (I.E. Pre-Voodoo3) it is advisable to leave this set to 0 (ZERO) as it will have a noticable positive effect on your framerate. Newer systems will be less affected.

Some custom engines or mods RELY on the behaviour and existence of this cvar, so as a note to engine modders, please leave this cvar intact.


Console
List of console variables | List of console commands