Unreal Engine Var console variable.
r.ShaderPrint.MaxCharacters [value]
Set via the console (~) or in DefaultEngine.ini / DefaultGame.ini.