Trying to prevent rendering in a cylindrical area

Is there a way to do this? I want something like this - and

The problem with that is that it’s a sphere. What I need is basically a cylinder from the player to the camera, and anything with this material should not be rendered in that area.

There was no “cylinder Mask” that I could figure out, but I’m not very well versed with materials and material functions. Essentially I want to be able to input two locations and a radius and mask with the cylinder created from that.

If someone could help me with that, it would be appreciated.