More Efficient Culling

Xash3D

More Efficient Culling

Xash3D uses a more efficient culling system, which helps improve the framerate and decrease r_speeds. In addition to the r_lockpvs command, you can use the r_lockcull command to evaluate culling efficiency. Moreover, the engine can handle what is known as static brushes, where any model with normal rendermode and zero position and rotation values automatically becomes part of the world and is drawn along with world polygons. In highly detailed maps, this, coupled with the use of func_cull, significantly boosts performance (for example, in the "Dm-knot" map by Scrama). However, this system considerably increases the chances of z-fighting in some old maps created with Worldcraft or Valve Hammer Editor, because those editors use integer coordinates for all objects in the map. If this occurs, it is recommended that you disable static brush support using the "gl_allow_static" "0" console command.