How to make static meshes with textures translucent when the camera passes them? Similar to Diablo 3

I want to create a diablo 3 style camera for one of my cameras. I have seen a bunch of different ways to accomplish this but they are from older versions. They are using plain materials to be translucent but I m using texture maps that need to be opaque. How can I make the static mesh disappear when the camera passes by it.

Well to start with, if it’s going to be a smooth transition from visible to hidden, it’s going to have to use opacity. You could swap out the material once your character is behind the mesh. But you would need 2 materials for each mesh that could possibly disappear. One for normal opaque means, and the other for when it’s transitioning into hidden.

Add a collider to both your camera and your mesh, then in your blueprint, set the mesh to hidden when the collider are colliding.

You’ve got Fade Camera Occluders on marketplace : Fade Camera Occluders in Blueprints - UE Marketplace

Thanks for the replies and the assistance. I will try this out should work really well I have only recently been seeing a way to use fading in and out that gives use to 2 materials. Thank for the help everyone. I had no idea there was something on the marketplace for this, should have known. Ill be able to reverse engineer it so I can accomplish that plugin on my own if I do another game that requires the same camera function.