Thanks. I took a look and it's definitely inefficient if you have to reset the material every frame. But it seems to work pretty well. How did you save the changes made to the material?