How to make one object visible to one or more cameras but invisible to one or more cameras
Alright, so I am planning on making a 2D multiplayer game, and I need some advice. I am planning for up to 20 cameras or so, all rendering one scene, each one for one player. Now, the way I have it set up, there is a black box in the way of each area until you enter it, so you can't see the other players coming. However, I am stumped as to how I would do this. I need to make sure that three things happen: 1. The blocker disappears to the player who enters the room 2. The blocker is still visible to every other player in the game 3. Multiple players can be in the same room, and the system need to work for every one of them in the same way it worked for one player
Does anyone know what to do? I know that layers exist, but that doesn't work because each blocker can only have one layer, and needs to be invisible to multiple players.
Thanks in advance!