How to do UV mapping for character skins in 2D

Godot Version

4.3

Question

Hello
I am very new to godot
I am trying making a 2D pixel game and i saw a very good technique on YouTube to make different skin animations for one character without actually making all the frames
It is done by using UV mapping
I am unable to understand how to do it and i was unable to find any helpful tutorial on it
Can anyone please tell me how to do it step by step
You can refer to this video to understand what i am exactly saying

I can’t help you with a step by step guide, but I would suggest looking at Godot Shaders to see if you can find something there. 3D models use Shaders to determine what color a pixel would be, you could do something similar.

This may help as a good place to start - https://godotshaders.com/shader/color-replacer/

1 Like