public void _addProceduralMaterial(ProceduralMaterial pm)
        {
            ProceduralMaterialInfo pmi = new ProceduralMaterialInfo();

            pm.isReadable     = pm.isReadable;
            pmi.proceduralMat = pm;
            _proceduralMaterials.Add(pmi);
        }
 public void _restoreProceduralMaterials()
 {
     for (int i = 0; i < _proceduralMaterials.Count; i++)
     {
         ProceduralMaterialInfo pmi = _proceduralMaterials[i];
         pmi.proceduralMat.isReadable = pmi.originalIsReadableVal;
         pmi.proceduralMat.RebuildTexturesImmediately();
     }
     _proceduralMaterials.Clear();
 }