Optimization Commands

From Valve Developer Community
Revision as of 09:42, 8 March 2006 by Andreasen (talk | contribs) (Changed page completely, reserving it for a list of console commands.)
Jump to navigation Jump to search

Commands and variables used for optimization.

+showbudget
Displays an informational panel displaying engine performance. See showbudget.

mat_leafvis

mat_leafvis 0
...
mat_leafvis 1
...


mat_wireframe

Displays the BSP visleaf wireframe for the map. Useful when optimizing for seeing how visleafs are arranged.

mat_wireframe 0
This setting is default. It doesn't display any wireframes.
mat_wireframe 1
This setting displays all the leaves that is visible in the PVS, using red polygons. It is useful for determining how many leaves are calculated in total, but has the most potential for clutter.
mat_wireframe 2
This setting displays all the brush leaves in the players line-of-sight, using green polygons, hiding the ones he cannot see.
mat_wireframe 3
This setting displays the leaves using pink squares.