Yup, seems to.
What about that port to Oldrim ?...
[SLE / SSE / FO4] Depth of Field
- Author
- Message
-
Offline
- *blah-blah-blah maniac*
- Posts: 1498
- Joined: 31 Mar 2012, 15:06
- Location: France
Re: [Skyrim SE] Advanced Depth of Field
_________________
Lian Li PC011 Dynamic, Corsair AX 1500i PSU, i9 10850K @5.0 Ghz, Aorus Z490 Ultra, RTX3090 MSI Gaming X Trio, 32GB Corsair Vengeance Pro RGB RAM@3600, Corsair MP600 1TB NVME System Drive, 10 TB Storage, W10 Pro 64, Custom Hard Tubing Watercooling Loop
Lian Li PC011 Dynamic, Corsair AX 1500i PSU, i9 10850K @5.0 Ghz, Aorus Z490 Ultra, RTX3090 MSI Gaming X Trio, 32GB Corsair Vengeance Pro RGB RAM@3600, Corsair MP600 1TB NVME System Drive, 10 TB Storage, W10 Pro 64, Custom Hard Tubing Watercooling Loop
-
Offline
- *blah-blah-blah maniac*
- Posts: 530
- Joined: 30 Jan 2012, 13:18
Re: [Skyrim SE] Advanced Depth of Field
I have someone nagging me for a ReShade port as well so when it's done, I'll port it in one go. Not forgetting about it, don't worry
-
Offline
- *blah-blah-blah maniac*
- Posts: 530
- Joined: 30 Jan 2012, 13:18
Re: [Skyrim SE] Advanced Depth of Field
So, I finally made a good version of this optical vignette thing... I know, both kingeric's and my DoF for ReShade have had it for years, kingeric's one discards samples (inefficient), in my old version I tried to "rotate" the shape in 3D space (wrong shape and due to expensive math even more inefficient), but now I think I have a nearly perfect solution that can restructure the bokeh sample offsets correctly and very efficiently as almost all calculations are done outside the loop, without expensive ops. And doesn't have the issue that it doesn't produce jaggies on the side.
For reference, this effect I was aiming for, the partially occluded circles:
My version (lowered sample count so you can see how the sample locations moved):
For reference, this effect I was aiming for, the partially occluded circles:
My version (lowered sample count so you can see how the sample locations moved):
-
Offline
- *blah-blah-blah maniac*
- Posts: 1498
- Joined: 31 Mar 2012, 15:06
- Location: France
Re: [SSE / FO4] ADoF with SSAO
Very, very nice.
_________________
Lian Li PC011 Dynamic, Corsair AX 1500i PSU, i9 10850K @5.0 Ghz, Aorus Z490 Ultra, RTX3090 MSI Gaming X Trio, 32GB Corsair Vengeance Pro RGB RAM@3600, Corsair MP600 1TB NVME System Drive, 10 TB Storage, W10 Pro 64, Custom Hard Tubing Watercooling Loop
Lian Li PC011 Dynamic, Corsair AX 1500i PSU, i9 10850K @5.0 Ghz, Aorus Z490 Ultra, RTX3090 MSI Gaming X Trio, 32GB Corsair Vengeance Pro RGB RAM@3600, Corsair MP600 1TB NVME System Drive, 10 TB Storage, W10 Pro 64, Custom Hard Tubing Watercooling Loop
-
Offline
- *blah-blah-blah maniac*
- Posts: 530
- Joined: 30 Jan 2012, 13:18
Re: [SSE / FO4] ADoF with SSAO
Oyama thanks
So I came to a conclusion about the AO...As I still have hope that Boris will implement his AO some day, I decided to not add the AO in the rewrite. It just complicates things a LOT, makes the file harder to use, and due to no proper engine integration, screws up fog and all that.
So I came to a conclusion about the AO...As I still have hope that Boris will implement his AO some day, I decided to not add the AO in the rewrite. It just complicates things a LOT, makes the file harder to use, and due to no proper engine integration, screws up fog and all that.
-
Offline
- *blah-blah-blah maniac*
- Posts: 530
- Joined: 30 Jan 2012, 13:18
Re: [SSE / FO4] ADoF with SSAO
OK, version 3 is up (first post). This is a major rewrite of the project and it contains a lot of logical and structural changes. First of all - no SSAO. There are features missing such as tilt shift which I'll re-add lateron but SSAO will stay out of it. As I said in the very post above, it bloats the file and looks just like the stock SSAO. Cmon Boris, you can do it. Even a shitty AO is better than AO per enbeffectprepass, for goodness sake.
Okay, so I rewrote the entire code for hopefully higher performance, I can't really test it on a GTX 1080 so you have to take my word on it. Removed the near and far blur mult options, as the curve ones work also as scalar. These near and far blur curve options work now much more direct, no need to crank them up to 1000 to remove near/far blur like in GP DOF days. You can recreate the same blur like before, it's just boiled down to 2 settings instead of 4. Renamed the infinite focus param to hyperfocal distance as it is exactly that - somewhat.
Blur width is now always a factor of the screen size and not in pixels.
Shape chroma modes are now toggleable in UI.
Gaussian should be a lot faster and can be cranked up to insane ranges, if you want really blurry DoF.
The autofocus has been totally overhauled - it can take the entire screen into account (we're rendering to a 16x16 pixel buffer, so even a lot of samples won't hurt perf a bit) and it also takes samples close to screen more into account so it feels a lot more natural + the focusing won't change all the time if you got some fuzzy stuff on the screen. Don't worry, your fps hands won't screw up, I excluded them. Wouldn't want to look at your bow when sniping, would you.
As I said, some features are still missing and I plan on reintroducing some of them lateron. Just so you can do your spins on the new release.
Okay, so I rewrote the entire code for hopefully higher performance, I can't really test it on a GTX 1080 so you have to take my word on it. Removed the near and far blur mult options, as the curve ones work also as scalar. These near and far blur curve options work now much more direct, no need to crank them up to 1000 to remove near/far blur like in GP DOF days. You can recreate the same blur like before, it's just boiled down to 2 settings instead of 4. Renamed the infinite focus param to hyperfocal distance as it is exactly that - somewhat.
Blur width is now always a factor of the screen size and not in pixels.
Shape chroma modes are now toggleable in UI.
Gaussian should be a lot faster and can be cranked up to insane ranges, if you want really blurry DoF.
The autofocus has been totally overhauled - it can take the entire screen into account (we're rendering to a 16x16 pixel buffer, so even a lot of samples won't hurt perf a bit) and it also takes samples close to screen more into account so it feels a lot more natural + the focusing won't change all the time if you got some fuzzy stuff on the screen. Don't worry, your fps hands won't screw up, I excluded them. Wouldn't want to look at your bow when sniping, would you.
As I said, some features are still missing and I plan on reintroducing some of them lateron. Just so you can do your spins on the new release.
-
Offline
- *blah-blah-blah maniac*
- Posts: 17559
- Joined: 27 Dec 2011, 08:53
- Location: Rather not to say
Re: [SSE / FO4] ADoF with SSAO
Guess you will not relax till i make external ao shaders.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
-
Offline
- *blah-blah-blah maniac*
- Posts: 530
- Joined: 30 Jan 2012, 13:18
Re: [SSE / FO4] ADoF with SSAO
No man this was not to force you to make AO, I know that's impossible. It's just that many people requested earlier to have AO added to the prepass and the old file got extremely messy because of that. So I have an excuse for not re-adding it in the new update :p
I just remember that you said there are problems with extracting albedo from the game so I wondered why you wouldn't just directly replace the AO of the game with any better one. It doesn't even require your full AO/IL with deferred normals and everything, just any average AO is better than the built in. I'd patch the shader files myself if I knew how.
I just remember that you said there are problems with extracting albedo from the game so I wondered why you wouldn't just directly replace the AO of the game with any better one. It doesn't even require your full AO/IL with deferred normals and everything, just any average AO is better than the built in. I'd patch the shader files myself if I knew how.
-
Offline
- *blah-blah-blah maniac*
- Posts: 17559
- Joined: 27 Dec 2011, 08:53
- Location: Rather not to say
Re: [SSE / FO4] ADoF with SSAO
In Fallout 4 i do have albedo, in SSE most likely not, because i can't increase startup time to minutes for recompiling shaders.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
-
Offline
- *blah-blah-blah maniac*
- Posts: 530
- Joined: 30 Jan 2012, 13:18
Re: [SSE / FO4] ADoF with SSAO
How did you do it on GTA SA for example? Or allows the almost non existing shading for simple math on regular color buffer?
Also, why do you need to recompile all shaders? Does it have to be done once or every time on game start?
Also, why do you need to recompile all shaders? Does it have to be done once or every time on game start?