Mat leafvis: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{CVar}} | |||
A [[Developer Console|console]] variable that (when active) displays [[visleaf|visleaves]]. The number of the leaf, area and cluster of the current leaf is reported in the [[console]]. | A [[Developer Console|console]] variable that (when active) displays [[visleaf|visleaves]]. The number of the leaf, area and cluster of the current leaf is reported in the [[console]]. | ||
Line 12: | Line 13: | ||
* [[Visibility optimization]] | * [[Visibility optimization]] | ||
* [[mat_wireframe]] | * [[mat_wireframe]] | ||
Revision as of 13:12, 27 June 2023
Template:CVar 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.