Do not pass settings around
move render settings out of global settings