Material - I want a gradient texture to not rotate with object

Hello,
I’m trying to create a stylised gradient look. Now, this isn’t an issue for general objects as I can make the gradient a part of the texture. However, I have rocks that I want to be able to rotate around freely and if I bake the gradient into the texture this makes things look weird. So, I thought that doing it via a material would solve this issue.

  1. Is it possible to have a fixed gradient that doesn’t rotate with the object?
  2. What jumping off points can you suggest to get me started?

Thanks,
Andy

Check out the “World Position Offset” material Node. You can mask out every channel (RGB) and use it like XYZ coordinates for your UV input of your texture gradient.