loadMaterial.