Where to start to achieve this effect?

Yes, it is for a single-player game, to use in first person camera only. It is for some kind of terror game when you only see the “ghost” when you focus him with a flashlight.