Hello everyone.
I’m working on a game in Unity, and I created a custom health bar with some Photoshop effects applied to it.
While it does look fine, the problem I have is that, when changing the size by reducing the scale horizontally to represent health, it starts to become very compressed and look awful, far from the original appearance, once the horizontal size reaches a certain length - the extra effects start to disappear and the pixels representing them essentially merge
What exactly can be done to fix this? Is it possible to have an additional Canvas UI image over it that essentially increases in size horizontally and covers the health bar with an alpha transparency mask, revealing the health bar background underneath?
Attached are photos that illustrate the problem, along with screenshots of the health bar texture and the object that it’s attached to.
The Image PNG Pixel Size is 178x16
Thank you.