9 slice Image and Shader UV Coordinates

I’m having an issue with using a 9-sliced texture and a shader effect. Within my shader, I am applying a vertical fill, controlling the fill amount using the tex coordinates. When using 9-slice the fill amount is stretched out of proportion as the UV coordinates stretch with the image (which makes sense but isn’t expected). If I don’t use sliced mode my shader works as expected. I’ve attached an image which illustrates the issue, on the left the image is sliced and filled with a value of 0.5, on the right the image is not sliced but is filled using the same amount. Any ideas on how to fix this issue?


Hi, @EvilToaster626! I’m having the same trouble. Did you found the solution?

Having the same issue. I’ll let you know if I find a solution.