Shader: Health Bar Units Shader
About
This health ui shader has been created in Unreal Engine. Currently it can be changed the shape of the points of health and the number of them, saving the user time to create a complex UI widget on Unreal. The shader is interactive through exposed material parameters, which allow the developer to modify various properties.
Parameters:
-
Filled Color 1: Allows the user to change the left color of the filled life units.
-
Filled Color 2: Allows the user to change the right color of the filled life units.
-
Void Color: Allows the user to change the color of the lost life units.
-
Negative Corners 1 - 4: Controls the curve of each corner in the lost life units.
-
Positive Corners 1 - 4: Controls the curve of each corner in the filled life units.
-
Border Width: Controls the stroke size of all lost units.
-
Height: Controls the scale in Y of all units from its centre.
-
Width: Controls the scale in X of all units from its centre.
-
Current Health: Controls the current amount of life units.
-
Max Health: Controls the max. amount of life units.