Difference between revisions of "Mat leafvis"

From Valve Developer Community
Jump to: navigation, search
(Wrote a more ''general'' general description.)
 
Line 3: Line 3:
 
;mat_leafvis 0:Off
 
;mat_leafvis 0:Off
 
;mat_leafvis 1:Draw the visleaf the player is currently standing in as a red wireframe.
 
;mat_leafvis 1:Draw the visleaf the player is currently standing in as a red wireframe.
 +
;mat_leafvis 2:Draw the current viscluster the player is currently standing in as a red wireframe.
 
;mat_leafvis 3:Draw ''all'' visible leaves. Note that this is unaffected by [[r_lockpvs]].
 
;mat_leafvis 3:Draw ''all'' visible leaves. Note that this is unaffected by [[r_lockpvs]].
  

Latest revision as of 00:17, 12 November 2014

A console variable that (when active) displays visleaves. The number of the leaf, area and cluster of the current leaf is reported in the console.

mat_leafvis 0
Off
mat_leafvis 1
Draw the visleaf the player is currently standing in as a red wireframe.
mat_leafvis 2
Draw the current viscluster the player is currently standing in as a red wireframe.
mat_leafvis 3
Draw all visible leaves. Note that this is unaffected by r_lockpvs.

This variable is a cheat.

See also