How to make complete darkness, and only things affected by a light source visible. The camera not connected to the player, and is not the light source.
Ok, so, i have a camera looking downward where the player and everything is. i want to make it, so that the only thing that can be seen is the player, the things affected by the the spot light, and some other random things that have spot lights (and the things affected by their spot light). NOTE again that the camera is not connected to the player and can move freely around (like a camera in a strategy game). Thx in advance.