Forum

Getting rid of grayflash

Discuss programming topics for the various GPL'd game engine sources.

Moderator: InsideQC Admins

Getting rid of grayflash

Postby JasonX » Sun Mar 20, 2011 4:57 pm

I'm working on a small game with WinQuake but there's this thing with large levels and open areas that drives me crazy: grayflash. When your level is very large, and it's an open area, the engine goes crazy and flashes grey in the horizon.

Since fog is not a good option for WinQuake, do you guys have anything in mind?
JasonX
 
Posts: 411
Joined: Tue Apr 21, 2009 2:08 pm

Postby Baker » Sun Mar 20, 2011 6:01 pm

If I recall correctly, you'd have to jack up ...

r_maxsurfs
r_maxedges

Because WinQuake being a software renderer will only draw so many things on the screen before it says to itself "ok, let's stop otherwise the time it takes to render the frame is going to kill frames per second".

See ... http://www.quakewiki.net/archives/conso ... quake.html

r_maxsurfs
Game: WinQuake

Type: Register

Default: 800

Description: The maximum number of plane surfaces to be rendered.

Note: This variable limits the number of surfaces that will be rendered. This variable is used along with the r_maxedges variable in order to limit the renderer from drawing too much of the map and to increase performance. Sometimes it is necessary to increase the value for this variable, a good number to use is 1000.
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am


Return to Engine Programming

Who is online

Users browsing this forum: No registered users and 1 guest