Alright here we go:

a REAL Depth of Field shader which uses a depthmap and all that stuff for you guys :














Specials thanks to:
ello: for writing somewhere on the forums how to get the depth of a model through a vertex shader!
xXxGuitar511: for helping me out with my view-dependent-material-change-script-thingy!




Now the bad part: you get the script/shader not before tomorrow...i'm too tired to create a testlevel and write a few notes on how to use this shader. So bare with me a little longer

Goodnight


Shade-C EVO Lite-C Shader Framework