a question about "unconsiciousness" effect

hello everyone,
i wanna create for my game a kind of an unconsiciousness effect,
i dont really use shaders, only scripting but i want to know how can i achieve or even if theres image effects / shaders out there on asset store for that result:

time: 02:14
i only mean the effect when all of the vision is closed, and theres only a “hole” that u can see from.

bump

bump :frowning:

The built in vignetting image effect let’s you define how dark the corners of your screen should be:
http://docs.unity3d.com/Manual/script-Vignetting.html

I could probably be configured in its default state to look sort of like what you see in the video, but you could also look at the code for it and look at just the darkening effect to see if you could add something like an “eye” mask to the darkening effect to make it look like an eyelid similar to the video.

ok thanks

You don’t really need shaders for that effect. You could also just set up a new camera to render in front of everything some black unlit planes with a gradient alpha. And of course animate that however you want. The vignette image effect also may work, but won’t give you as much control.