2d eyes for a 3d character without textures?

Godot Version

version 4.4

Question

Is there a way to make 2d eyes in a 3d character that is able to move the pupils with clipping mask in the sclera? I want it so i don't make alot of textures with the eyes looking at different directions, with different expressions, and also being able to choose the eye color in game
Can i do the same with the other facial features like nose and mouth?
Is this feature not very consuming for a phone game?

Example:

The eyes in the game are animated like that, the iris clip mask throught the white part of the eye freely so it can see in any direction


(source: Peak by Landfall and Aggro crab)

You could probably make something work if you had a separate material for each part of the face you wanted to animate, and used a shader to drive them.

1 Like

ooh okok, i don’t know shaders at all oof I should study that

They aren’t really that hard, just different. You might be interested in this, for example.

Shaders take a bit of getting used to, but you can do a lot with them.