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

Editing gl clear

From Quake Wiki

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 8: Line 8:
 
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.
 
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. However, sometimes graphical errors can occur causing seams in the map (especially when [[gl_keeptjunctions]] is off), usually causing a few glaring red pixels to show through. For this reason, it is advised to leave gl_clear off, especially on old engines such as GLQuake that use the ugly red colour.
+
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. However, sometimes graphical errors can occur causing seams in the map (especially when [[gl_keeptjunctions]] is on), usually causing a few glaring red pixels to show through. For this reason, it is advised to leave gl_clear off, especially on old engines such as GLQuake that use the ugly red colour.
  
 
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.
 
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 variables}}
 
{{Console variables}}

Please note that all contributions to Quake Wiki are considered to be released under the GNU Free Documentation License 1.3 or later (see Quake Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel | Editing help (opens in new window)