Hello there
Anyone have some useful tips for creating a blinking effect with the first person controller camera?
For example having the player wake up and having the camera fade in, blink a few times and then clear view.
Hello there
Anyone have some useful tips for creating a blinking effect with the first person controller camera?
For example having the player wake up and having the camera fade in, blink a few times and then clear view.
I would probably use two planes with an unlit black material with a blurred alpha and have them represent the upper and lower lids, then have those visible only to a special camera matching your main camera, which can only see them and has a higher depth to the main one. That’s to make sure nothing clips through the lids by accident. Then script them or animate them to mimic opening and closing, and use the blurred image effect ramping it up or down as the eyes open or close. Maybe even increase the bloom image effect after opening the eyes and fading it down to normal, to kind of simulate the way light is too bright when just waking up or coming in from a dark place. Without having to overdo regular tonemapping/blooming.
Cheers buddy.
I will give that a go. Really needed a few pointers in the right direction.
The image effects you mentioned for example ‘bloom’ and ‘blurred’ are they Pro licence only? If not where could I find them?
Yeah those are pro only. If you’re using the indie version. You could then, rather than use those. Have a white oval texture on another plane and place that closer to the camera than the lids. Then animate it’s opacity so it appears to quickly become bright and glaring as the eyes open, then fade away, which would give a similar effect but without requiring pro only features. Valve did the same thing in HL2 as you leave the mines and find yourself at one end of a train depot and it worked really well.
Do you reckon I could get away with trying it out on the first person controller camera? maybe if I used a fade out the destroy script on the animated lids and oval?
Yeah should be just fine. You can just make it a prefab on its own, setup the animation sequences, the method you want to control it, then place the prefab of that inside the character controller prefab in the position you want it, setup the camera’s so the lids will always appear in front of everything else and it should work as expected. Hopefully
Frank Oz cheers matey, I tried your tips with animating eyelids and also using the FadeInOut script from unify got it looking pretty ok. A little more tweak and it should look pretty good. Thank you.
Meh11, sounds good i think ill give that one a try tomorrow I reckon. Ill put up a webplayer of what I have done if/when I work out how to do it.
cheers guys
Here it is, like I said it needs a lot of changes but it’s a nice start
I’m getting this when I click your link. So will have to wait to see it for a bit.
Website Under Review
You are seeing this page because the system administrator of 000webhost.com is currently checking this website for malicious content. This redirect page will be removed once we finish manually checking all files on this account. Since we check over 100 websites per day, it can take about 2-4 hours to complete. If you are the owner of this website, you will get an email confirmation once it’s done. If you are a visitor, please come back later.
www.000webhost.com is the most popular free web hosting provider, and as such, suffers from abusers. Around 5% of users sign up here just to start hacking or phishing websites or causing other problems. So, in order to survive, we must monitor what our users are hosting.
We are sorry for the inconvenience, but checking all content manually is the only way to provide you with the most secure and reliable service. If you find any illegal websites on our network, you can report it here.
Ah Bugger! Cool man
If someone is looking for a super optimised drag’n’drop solution you might want to take a look at
EYE Blink Effect (FPS / VR) - Unity Asset Store - The Best Assets for Game Making