How to move a texture in the Z axis? (outside the object)

How to move a texture outside the object, like in the image, is there any way to project the texture at some distance from the object? Thanks.


There is no method for it.

However you can make surface that is at some distance from object, then display it on it.

You can also project decals on existing meshes.