
Regarding eyepos, I'm pretty sure Scanti told me you can get it from the world matrix as:
float3 eyepos = float3(m44world[3][0],m44world[3][1],m44world[3][2]);
I've not had much success using it though, but that could just be me.
Eye adaption is also something I'd be very interested in for DoF, you probably need to do it using f4Time.x and a complicated lerp arrangement. :shrug: I also need to figure out how to transition between two levels of blur.

Good to know. I will try that as soon as possible. Maybe it is not accurate to begin with. In Morrowind, we figured out the sun light position and sun disc position are separate things. But still this is a calculation related problem, the center position should stay stable.
I think you're right about time and lerp arrangements, but I suspect that, it can only work for DoF shader but not Color Grading. Because I have to hold a color value through time but for DoF you will hold the time value through time. (What I am saying doesn't make sense at all.


