How to UV offset world position

I need to be able to offset world position. I am trying to make a stylized outline, but for some stupid reason its treating ground in the distance as an outline. I already have a bunch of hacks set up to eliminate this but it does lose outlines randomly on some edges. I want to be able to sample world position with uv offset to be able to properly generate outlines without a bunch of workarounds.