How to produce this blur effect?

Community Forums/General Help/How to produce this blur effect?

NotAGamer(Posted 2015) [#1]
http://www.google.com.ph/imgres?imgurl=http://www.blogcdn.com/massively.joystiq.com/media/2011/08/dnest-4-1-1312903141.jpg&imgrefurl=http://www.engadget.com/2011/08/10/free-for-all-the-best-looking-games-in-free-to-play/&h=227&w=580&tbnid=ks8UVfwCdjMNqM:&zoom=1&docid=ixBpswH61LM26M&ei=yFUFVZ_qDuTwmAWorIDYDQ&tbm=isch&ved=0CGAQMyg-MD4


hmmm?


AdamStrange(Posted 2015) [#2]
it's called depth of field. the further (or nearer) then camera the more the blur effect.

Usually made with shaders


Yue(Posted 2015) [#3]
If you are using Blitz3D the library FASTEXT Create effect. DOF.




RemiD(Posted 2015) [#4]
Maybe this can help : http://www.blitzbasic.com/codearcs/codearcs.php?code=1030


Yasha(Posted 2015) [#5]
Consider carefully whether doing this is actually a good idea. In most games DOF is extremely annoying and distracting; it's the kind of feature AAA developers throw in to justify their budget and keep the suits happy (or maybe to improve static screenshots), not because it plays well. It's also rather difficult to integrate properly (as, ironically, every example of "plug and play" DOF demonstrates perfectly).

DOF is supposed (when it's not being done for "because we can" reasons) to simulate the direction of your attention. Since it only affects areas of the screen you aren't supposed to be looking at anyway, you should question why the design of your game is drawing attention to the wrong place, rather than simply black out the things you don't want the player looking at.