How do I prevent a texture from moving when the model moves?

I’ve got a model with a mesh renderer and a shader that I cobbled together from examples on the web. The shader is an outline shader that I’ve combined with a tri-planar shader example. I’ve attached the shader to this question.

The problem is the texture I’ve applied to my model is not “staying in place” when I move the model.
How might I go about “locking” the texture in place so that it does not move when the model moves?
4099231--358684--move-texture-error.gif

4099231–358681–TriPlanarWithOutline.shader (4.3 KB)

You appear to be using a world space triplanar shader. You may want to use an object space triplanar shader instead, or not use a triplanar shader at all and just use the mesh’s UVs.