I’d suggest you to take a look inside the world aligned texture function. You can easily just blend between the 3 projections (apply the bumpoffset to each) without the function.
If you want use the function, add the bumpoffset between the worldpos->mask->divide and the texture sample. Look in the world aligned texture fcuntion, it should have something similar, just without the bumpoffset and heightmap.