mat_levelflush

EArkham

Necromancer
aa
Aug 14, 2009
1,625
2,773
What does mat_levelflush actually do? There's no info on the VDC. It's not a command that requires sv_cheats.

Got a strange issue with a map that runs perfectly fine when it's first loaded, but the fps drops like a rock the second time it's loaded -- until I type in mat_levelflush, and the fps goes back to normal. Showbudget claims its due to a dynamic light resource hit, which vanishes after using mat_levelflush. There are named lights in the level, but no other sources of dynamic lighting.

Need to figure out what mat_levelflush is actually doing so I can track down the source of the problem and why it only happens on map reload.