Optimization Commands: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Changed page completely, reserving it for a list of console commands.)
m (Fixing double redirect. This action was performed by a bot.)
Tag: Redirect target changed
 
(8 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
#REDIRECT [[Optimization/Level Design]]
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.

Latest revision as of 15:21, 21 January 2024