Reverse the direction Bump Offset shifts the UV

I have a texture I am working on and I’m using the Bump Offset node to give the illusion of looking down sniper scope. The problem is the bump offset is shifting the UV’s in the opposite direction to how I want them to be shifted. When the camera moves from left to right the UV’s also move from left to right and when I move the camera from the top to the bottom, the UV’s are also moved from the top to the bottom. I want this to be mirrored, but I can’t figure out a way to pull it off.

If there’s a way to convert the outputs of the bump offset to a T2D then that would also solve the problem, because I can apply UV modifications to it, but I can’t find any way to do that either.

Shouldn’t you be using the “refraction” effect for that? This requires a normal map as input if I remember correctly.

But an attempt to answer your question:

  • You could try a negative value in the HeightRatioInput.
  • Select the BumpOffset node and adjust the Reference Plane to 1.
  • Or you can invert the UVs by adding a “OneMinus” node after the BumpOffset node, for example:

  • Or try using the BumpOffset_advanced node and invert the Distortion value before using an Add node to combine it with the Undeformed UVs, for example: