Viewport:
Breakdown:
The scene is rendered without composition, for this I divided scene into 4 parts using the Texture Coordinate > Camera and then separated the X & Y. So a single can look different in each part.
The mix color node can also be replaced with the mix shader node to combine multiple shaders into a single material. Like if you want a mesh to visible on a certain part and invisible in another.