- Home /
Possible to Make a shader graph for a segmented health bar RECTANGLE?
This is really meant to eventually be a bar recognizing ammo but the implementation should be the same so I'm saying health bar since that seems a more common task. I saw a video and asset on the store where someone used shader graphs to build a segmented radial health bar and it has the exact functionality I need. Problem obviously being I need a horizontal, rectangular bar. I tried following the tutorial to change what I would need and keep similar ideas but I'm just entirely lost and it seems too different from what I want. What nodes do I even need to look at including to make a rectangular health bar segmented? P.S. I tried a few other methods and none of them offer what I want. My game offers many weapons and different mag sizes for each so I will not be making hundreds of game objects for the ammo counting bar. Shader graphs seem to be a good idea for this task but I dont know what nodes im missing. I would think its simpler than a radial one but im just very new to this. Thanks for the help.
Your answer
Follow this Question
Related Questions
Displace and show normals in fragment shader 1 Answer
Custom UI Shader Stencil Problem [willing to pay for fix] 1 Answer
Unity Advanced Shader Help 0 Answers
Silhouette overlay shader 0 Answers