Custom Underwater Effect - Water System

Hey, can you please describe the stencil idea? I know how to use them on meshes and so on, but I didn’t get how to apply it for the division between the atmosphere and the underwater.