It's hard to implement, i think. Split your model: character and glasses, use two materials and attach one model to another with few lines of code...