Community Tutorial: Using Meshes as Masks for Post Process Effects in Unreal Engine.

In this tutorial, you’ll learn how to create a mesh mask in the post-process volume, adjust render settings, and apply a custom material to achieve occlusion culling.

https://dev.epicgames.com/community/learning/tutorials/JP6l/using-meshes-as-masks-for-post-process-effects-in-unreal-engine