Perihperal Vision
by Jacob Dankovchik · in Torque Game Engine Advanced · 11/06/2005 (9:44 am) · 9 replies
Damnit, title should be "peripheral"
I've been clownin around a lot with fullscreen effects latley, and I decided a while back I'd like to create a peripheral vision shader. I never felt it was fair that in a shooter you get a fully clear view all over but can't in real life. So after some work, I cam up with somethin that works. :D
Btw, the blur method sucks horribly, I know. Its not even fully bluring at the moment, and even when it will be, its slow and still not perfect. I need to work on getting the screen to blur better. But in any case, here are a couple pics of the work at the moment. Notice objects on the left and right compared to what it looks like when I focus on it.




I've been clownin around a lot with fullscreen effects latley, and I decided a while back I'd like to create a peripheral vision shader. I never felt it was fair that in a shooter you get a fully clear view all over but can't in real life. So after some work, I cam up with somethin that works. :D
Btw, the blur method sucks horribly, I know. Its not even fully bluring at the moment, and even when it will be, its slow and still not perfect. I need to work on getting the screen to blur better. But in any case, here are a couple pics of the work at the moment. Notice objects on the left and right compared to what it looks like when I focus on it.




About the author
#2
And in any case, its not eve that bad, the blur. I may end up keeping it with or without any good changes to looking code just beacuse if refined right, could add a cool feel to things.
11/06/2005 (10:43 am)
I beleive I understand what your saying, and yes I've also already considered that. In real life, you'd move your eyes to focus on a spot usual, in the game you would have to move everything. And if I decide to keep this in the end, I'll of couce do some work with looking and aiming. This was for a large part just a learning bit anyhow. Still want to keep going though and see if I can refine it into something pretty cool.And in any case, its not eve that bad, the blur. I may end up keeping it with or without any good changes to looking code just beacuse if refined right, could add a cool feel to things.
#3
I think the trick with peripheral vision is that is needs to be... peripheral. Monitors are too small for that.
Similar to HDR - your monitor cannot actually produce a light as bright as the sun, but with the case of HDR, you can sort of approximate it in a reasonable way. It'd totally mess the game up visually, but you could raise the FoV to be greater than it normally is as well. Or get it working on a VR visor :P
11/06/2005 (1:33 pm)
The distortion itself is actually really nice looking.I think the trick with peripheral vision is that is needs to be... peripheral. Monitors are too small for that.
Similar to HDR - your monitor cannot actually produce a light as bright as the sun, but with the case of HDR, you can sort of approximate it in a reasonable way. It'd totally mess the game up visually, but you could raise the FoV to be greater than it normally is as well. Or get it working on a VR visor :P
#4
11/06/2005 (1:34 pm)
I'm not putting down your work in any way; it makes for a cool effect. I just think the blur radius is too large. If you soften it down a bit I'm sure it would cause for a very nice effect overall.
#5
I thought about raising FOV, but that could cause some uglyness. With a small enough radius though, I'm sure it'll be ok.
11/06/2005 (2:12 pm)
Oh, I agree on the radius being too large. I was so excited about actually doing something that I intended with shaders though I just threw all this up the second it worked. Right now in-game its kind of anooying rather then cool because its just too big and too ugly. I'm going to restict things to be just around the edges a bit and nice and soft.I thought about raising FOV, but that could cause some uglyness. With a small enough radius though, I'm sure it'll be ok.
#6
You know, when you have a powerful beast of somekind that needs to be lessend in some way to make things even... anyway... i think it would be a good drawback that could be used.
My point... can always be used for something... so i support your continued work.
11/07/2005 (3:51 pm)
This kind of thing works really well for Aliens Vs. Predator type vision modes. You know, when you have a powerful beast of somekind that needs to be lessend in some way to make things even... anyway... i think it would be a good drawback that could be used.
My point... can always be used for something... so i support your continued work.
#7
I like how BF2 does it with the heartbeat and fade a bit too. Along with blur.
11/07/2005 (6:41 pm)
That looks like a good shell shock effect too.. like something just blew up near you..I like how BF2 does it with the heartbeat and fade a bit too. Along with blur.
#8

11/10/2005 (5:14 am)
Here is an update. I reduced things out a bit and its just in general a bit smoother. It may not look like much of an effect in this shot, however it makes quite a difference ingame. Really makes for a different feel.
Torque Owner Chris Byars
Ion Productions
The way we play games now, your eyes do move to other parts of the screen and focus on them. Peripheral vision IRL works fine with games, the effect is achieved already without the help of blurring shaders. (IMO)