UI Shader - multiplying 9-sliced sprite with non-nine-sliced texture?

Hi,
I’m attempting to use the Shader Graph to put a parchment effect on my UI, by multiplying the main sprite with a parchment texture.

Trouble is, my UI sprite is 9-sliced, and the 9-slice is applying to the parchment texture as well. In the image below, you can see how the 9-sliced stretches the parchment grain way out. Ideally, I would just set the parchment texture to repeat, unaffected by the 9-slice.

Images show the shader graph I’ve got set up, and the result.

Does anyone know a way to work around this, for the desired result? My goal is to use this shader in a lot of places to avoid the need for individual big textures for different UI panels.

Or any suggestions for a better way to accomplish this?


Any luck on finding a solution for this? I have the exact same issue with uv overlay animation.

1 Like