Why does my health bar material keep tiling?

So I am new to all game making stuff and try to learn the basics here. So i started to replicate the HUD example content in a new project. And now its doing the calculation correctly but. for some reason the material (replica of the original) keep tiling in the health bar.

this is at around 50% health, the right side should be black but instead its start again. (at 25% i have the orange bar 4 times in the bar.
This is the material:

Can anybody tell me where did i make it wrong ? Any idea welcomed.
Thx!

Howdy!

Would you be able to post an image of the Blueprint used for filling up the HUD? Are you doing it through a pick-up or something like the example, or is y our HUD starting out like your first image?

-W

This is how i draw the hud. This is in a Hud blueprint event graph, on the construction script panel i create a dynamic material instance out of the material above.

Then in this graph i use my character HP to drive a scalar in the material trough “Set scalar parameter value” then a text drawing what in lack of fonts not yet work, after that it draw the instanced material in a specified place. As far as i know all the bar slide scaling is happening in the material.
I tried to copy the HUD enplane content but i cant found what did i wrong. Maybe i missed one setting or something.

Hmm, I have implemented the same values as you for the material and I am not seeing this issue. Would you be able to post your current project somewhere like sendspace or dropbox so that I can load it up and take a look?

https://dl.dropboxusercontent.com/u/49238019/test.zip
I use starter content and cut out a lot of unused textures but it is still a bit big. I hope the link is working.

I had the same issue and after 2 days I figured it out.
Go to your asset browser and find the texture your using for that material and double click on it, scroll down to “Texture” and in X-axis/Y-axis Tiling Method and set them to clamp.

Thank you a lot I didn’t noticed that drop-down icon in the texture XD