Rotate the material shader relative to the camera view

It already used in the project, but I need the transformation for material, because it seems to be wrong like on the screen. I need to rotate it in the material (world offset? But how?)