I’m trying to animate a 3D character’s face by either changing the texture or only showing a certain part of the material. I have successfully been able to do that with scripts, but the project I am working on does not allow scripts to be used.
Is there a way I can use the Animator to modify the texture/material?
Ok, so I found a workaround. What you can do is create a animation that is one frame long and has one of every face in it set to inactive as a property. Each animation should only have one face.
What I did was create a 1 frame animation for each mouth shape and closed eye expressions, then animated blinking by having the key frames set the different eyes as active/inactive.
Once I am satisfied with amount of animations, I go into the animator and have 2 different layers, one for eyes and one for mouths.
This works for me, however it caused another problem for me where in darker/ directional lighting, there is a seam line where the eyes and mouth meet the rest of the head. But at least it works.