just a question about shader

try searching for custom stencil. you can use that on a postprocess to do an effect.
otherwise you can also use an overlay material, which incurs in one extra drawcall per object, but if it doesn’t cover the whole screen might be cheaper.