Not sure if this is the solution but try using World Position - Object Position → Normalize into your UVs.