What exactly are these graphics CVARs?

Discussion for Bani's Tournament Mod

Moderators: Forum moderators, developers

Post Reply
Smoke
Posts: 80
Joined: Thu Apr 22, 2004 8:15 am

What exactly are these graphics CVARs?

Post by Smoke »

I understand that higher values give prettier graphics--I can see that while testing--but could someone please tell me more specifically what these CVARs do? How do they utilize the GPU and the game engine?

r_colorbits: General color depth, I guess. 16 = 65K colors, 32 = 16.7M colors.

r_depthbits: Some sort of ... buffer ... thingy?

r_texturebits: Textues quality of ... what exactly? Everything?

r_detailtextures: Makes everything brighter, sure, but what else?

r_texturemode: How is this different from, say, r_texturebits?

I thought perhaps someone here with some technical knowledge of the Q3 engine might know.
b_pwnage 1
User avatar
ouroboro
Posts: 662
Joined: Mon Jul 26, 2004 6:52 pm

Re: What exactly are these graphics CVARs?

Post by ouroboro »

Smoke wrote:I understand that higher values give prettier graphics--I can see that while testing--but could someone please tell me more specifically what these CVARs do? How do they utilize the GPU and the game engine?

r_colorbits: General color depth, I guess. 16 = 65K colors, 32 = 16.7M colors.

r_depthbits: Some sort of ... buffer ... thingy?

r_texturebits: Textues quality of ... what exactly? Everything?

r_detailtextures: Makes everything brighter, sure, but what else?

r_texturemode: How is this different from, say, r_texturebits?

I thought perhaps someone here with some technical knowledge of the Q3 engine might know.
Well I don't have "technical knowledge," but I know basically what they do:

r_colorbits: General color depth, I guess. 16 = 65K colors, 32 = 16.7M colors.

-- Correct.

r_depthbits: Some sort of ... buffer ... thingy?

-- Correct. The depth (Z) buffer.

r_texturebits: Textues quality of ... what exactly? Everything?

-- Correct.

r_detailtextures: Makes everything brighter, sure, but what else?

-- Adds a second layer of detail. It's effect can be seen most easily on snow. It's not just the brightness, it actually appears more detailed and granulated:

r_detailTextures 0
Image

r_detailTextures 1
Image

r_texturemode: How is this different from, say, r_texturebits?

-- This is where you specify "bilinear" (GL_LINEAR_MIPMAP_NEAREST) or "trilinear" (GL_LINEAR_MIPMAP_LINEAR). There are other (uglier) options as well.
Please direct all gameplay-changing feature requests here.
Post Reply