Conceptual Question: Fade part of scene to black

In my application the user is sitting at a virtual computer monitor. At some point in the game, I would like to fade everything except the computer to black (and then bring the lights up in a new scene). The way we’ve handled fades before is to have a plane right on the camera that fades in and out. That’s great when you want to fade the whole scene, but it doesn’t lend itself well to fading only part of the scene.

I’ve thought about layers or tags, but other than manually fading each renderer’s color to black, I’m not sure how to go about this.

Does anyone have any suggestions on how this might be done? I’m not too worried about actual code, I’m just trying to find the right concept to implement.


I think changing the renderer’s color may be the way to go.

You can get all active objects in the scene with this: How to get all GameObjects in Scene? - Unity Answers

Then I would go through each object in the array and use Color.lerp to update its renderer’s color to be black.