I am trying to make my GUI more … lets just say fancy, for the lack of better word ![]()
But i am not sure it can be done in unity. Basically i have a texture that i want to fill up to a specific percentage, depending on the progress of a “upgrade”.
In the example image below the “upgrade” is half filled. I am looking for a way to be able to do this, dynamically, via the gui tools or shading (if possible), so i wont need to have every stage of the “upgrade” as a separate image.
Note that only the gray border is “lighting up”. ![]()

Any help, suggestions, directions, thoughts or comments on the matter would be appreciated ![]()
What i am thinking for a possible solution is to have both the 0% upgrade and the 100% upgrade images, and depending on the progress merge them at specific point on the Y axis, creating the desired effect. Although this can be a little tricky. Thoughts?
Have you seen this very popular answer? http://answers.unity3d.com/questions/14770/creating-a-circular-progressbar-timer.html
– AlucardJayYes this is pretty much what i need in a nut shell, but the example is applied to a 3d object with mesh renderer. Since there is no material support on the unity gui(or is it?) i dont think this solution applies here :(
– HammerBGIn case you got the funds, consider using a [procedural material][1], but you'll need Substance Designer for that. [1]: http://docs.unity3d.com/Documentation/Components/class-ProceduralMaterial.html
– GerryM