Hacked global params into MaterialFactory temporarily