Not sure if this will be of any help to you, but you could right-click in the preview window (best to use top view or a high-alt camera) and choose the "copy coordinates" option. Then, you can drop these coords into any shader that supports coordinate inputs.