| r_clear
| |
|---|---|
| Default | 0 |
| Allowed Values | 0-1 |
| Client Versions | All |
| Cheat Protected | Yes |
| Latched | No vid_restart Needed |
| Cvar Matrix | |
When r_clear is set to 1 the renderer will fill the screen with a bright purple color before it draws the world view, when it is left at the default 0 the renderer will not bother, so the previous rendered view will still be in the buffer.
Usually the world view overdraws the complete screen, so the slightly faster default setting should be used. When you are debugging maps you should set it to 1 because you can spot bugs in the map easier.
Setting it to 1 is also useful when you are fiddling with the settings that disable some rendering steps.
r_clear is cheat protected, because it is only useful for debugging, although it practically has no cheat potential.