@NasimiAsl Thanks for the example -- however, it's slightly different; look, in my codepen the mask was preventing *any* rendering of the main scene, and you could see the background clearly through it (as opposed to postprocessing just being applied on top).
In your example, is it possible to prevent the sphere to be rendered at all at the masked locations?