Hello, I am trying to create a health bar but in the shape of a stomach that will fill and empty as the game goes. Is there an easy way to do it instead of using a lot of stencils masks?
this is the shape that I am trying to fill up
I think the simplest way to do it is to make a second image with a full version of the stomach and put it on top of the empty one. Then it’s easy to use stenciling to hide part of the “full” node and reveal the “empty” one behind it.
2 Likes
Another way might be to have it grayscale gradient in e.g. The green channel, and ”animate” it in a shader.
3 Likes
Oh thanks! both solutions are great😄
1 Like