Darken out the scene

Hi guys,

I am new here and I am looking for a simple solution (hopefully) to this problem:
I want to freeze my scene when the user click a gameobject but I also want the scene
to be darkened when I am in this “paused” state.

It’s a common metaphor for pausing games, does Unity have a quick way to do it?

Thank you!

There are lots of ways to do this.

You could decrease the ambient light:

Or you could make a fullscreen semi-transparent GUI texture that darkens the screen:

Or you could use an image effect like color correction to darken the image:

http://unity3d.com/support/documentation/Components/script-ColorCorrectionCurves.html

1 Like

Wonderful!

I think the first one may be more difficult, because I have many lights in my scene…unless the ambient light affects every other light.

Anyway, thanks a lot!

-ar

Most games do something like the full-screen semi-transparent gray GUI layer (option 2). Darkening the lights can be complicated and probably won’t look like what you want. Putting a half-transparent gray rectangle over the screen is easier and will look more familiar to players.

@antenna tree
Those are some great ideas