private Material GenerateSettingMaterial() { var mat = new Material(this.shader); mat.SetFloat("_Mode", (int)this.blendMode); return mat; }