A feature request from negke.
The straightforward implementation would just add a check in Mod_LoadLighting, you would need to reload the map for the cvar change to take effect.
Should check other engines to see if there is already a cvar name for this.