add method to MaterialData to set transparency on/off