Debug overlays

From Valve Developer Community
Jump to: navigation, search

In Source Source games there are various commands which show debug overlays displaying information useful for developers.

Clearing debug overlays

  • Launch the same command again you used to display the debug overlay.
  • Use clear_debug_overlays command. This does not affect some overlays.

List of Commands that display debug overlays

Name Affected by clear_debug_overlays
ent_text Yes
npc_squads/npc_combat Yes
physics_constraints Yes
r_drawlightinfo No
r_drawmodelstatsoverlay No
Todo: Complete the list.