Mat leafvis

From Valve Developer Community
Revision as of 03:56, 18 February 2011 by MossyBucket (talk | contribs) (Wrote a more ''general'' general description.)

Jump to: navigation, search

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 3
Draw all visible leaves. Note that this is unaffected by r_lockpvs.

This variable is a cheat.

See also