r_drawBuffer

From Tremulous Wiki
Jump to: navigation, search
This article (R drawBuffer) is a stub. You can help by adding information to this article.
r_drawBuffer
Default GL_BACK
Allowed Values GL_BACK or GL_FRONT
Client Versions All
Cheat Protected Yes
Latched No vid_restart needed
Cvar Matrix

Usage

The setting of r_drawBuffer controls into which buffer the renderer draws the world. The renderer has two buffers, the "front" buffer is the buffer that is shown on the display while the "back" buffer is not visible. Rendering to the front buffer makes the intermediate steps of the rendering process visible, which results in a lot of flickering.

To avoid this the renderer usually draws to the "back" buffer and when it finished, it flips the front and back buffer, so that the change from one frame to the next is instant.

Tremulous
Personal tools