Help! Screen aligned uvs with panorama rotation?

I hope someone can help me with this; I’ve tried so many things and I feel like I’m in a hole.
I want to project a texture onto a mesh in 2d somewhat like ScreenAlignedPixelToPixelUvs does, but I also want the texture to tile in worldspace so that when I rotate the camera it makes a panorama effect sort of like the skysphere does.
Any ideas?

it is better to achieve with cubemap texture.