UV_ObjectScalable Node not working

When I use this node it leaves areas of my meshes blank and devoid of texture. My UVs are fine and this even occurs on the default UE4 primitives.

I am trying to make a texture that scales with my mesh so that the density is always the same size. EG. my bricks are all the same scale regardless of what mesh the texture goes on.

Any way to fix is, or is there an alternative? Thanks

218976-capture2.png

Hi there, I had this same issue a while back when I did a test upgrade to 4.16. I think there was an engine fix that broke this supergrid function. I was looking for the answer to post to you but I can’t find it anymore and I have deleted my test project since.

I have just come up against the same problem trying a 4.18 upgrade and I think I have managed to work it out. Go into the function and add a “clamp” after each of the two “Round” functions at the bottom left of the graph. It seems to have fixed my issue. I’m not very good with the material editor though so you will have to see if it works in all circumstances. Its strange because I’m sure there was a post about it where an Epic staff member posted the answer.

Hope it helps

Absolute legend, it works perfectly. Thank you very much!