Scale lazy threshold according to material. (#2170)