GeknaiirPretty sure that was in the old maxframes. The command used to make everything look pixel-y doesn't work anymore due to some random game exploit idk.
If you want the lighting to look like that you have to set both mat_filterlightmaps and mat_filtertextures to 1 and then set them to 0. You have to do this every time you play TF2 even if you already have them set to 0 in your autoexec. Even then though it's merely just for looks.