Correction Flipbook mask shader for mix expressions

Hi ,

As I’m novice with Shader, someone could help me to correct this one, please ?
I mean, look if I didn’t do horrible things or if it’s can be optimized.
Also because I have some artefacts and littles problems. (Show on the screenshot)

This shader was made to have differents expressions to my main character (cartoon 2d rendering style in 3d game) :
-At the top you have the way to move each part of the eye face
-In the middle it’s the texturesheet
-At the end, the way to change expression
(all will be link to bone’s mouvement)



Thank you so much

6395820–713169–Shader OZO Forum.unitypackage (1.29 MB)

Hi,
Can you clarify your problem? The graph is somewhat useless as-is, as it’s quite impossible to see what nodes you are using and especially what the values are. But I think if I understood correctly from your images, you have some artifacts on the images when you composite eyes and so on, and also wrong offset of the image components, like eyes?

Also, I think it would be polite if you wrote the comments in english. I really don’t understand what you are trying to say, I can only guess.