A downloadable asset pack

Buy Now$1.00 USD or more

Procedural Health Bar shader implemented in HLSL.

Unity 2021.3.2 LTS, Universal Render Pipeline (URP).

Customizable Health and Mana Bars - This comprehensive Unity asset provides you with all the tools you need to create stunning health and mana bars for your game. With complete control over waveform amplitude, speed, color, and border, you can make the perfect UI to complement your game. Set your own threshold for flashing the health bar. 

You can use this asset for more than just Health Bars and Mana Bars.


This asset uses SDFs to create the bar. Here is the article with the formulas to make more. 

https://iquilezles.org/articles/distfunctions2d/

Using the formula you can create more complex shapes. For example, in our game, when having a Heart instead of a Circle.

Features:

  • Change the shape of the bar
  • Bar Fill Amount
  • Flash the Health Bar at the Threshold value
  • Fill Color
  • Fill Wave Amplitude
  • Fill Wave Frequency
  • Fill Wave Speed
  • Background Color
  • Border Width 
  • Border Color

This asset uses the Unity URP package!

The code is commented so it's easy to customize and add your own shapes.

Purchase

Buy Now$1.00 USD or more

In order to download this asset pack you must purchase it at or above the minimum price of $1 USD. You will get access to the following files:

ProceduralHealthbarShader.zip 557 MB

Leave a comment

Log in with itch.io to leave a comment.