[Skyrim/FO4] enb script extender
- Author
- Message
-
Offline
- *blah-blah-blah maniac*
- Posts: 565
- Joined: 05 Apr 2014, 10:29
Re: [Skyrim/FO4] enb script extender
Then, we'll just have to wait boris's reply on it.
-
Offline
- *blah-blah-blah maniac*
- Posts: 17586
- Joined: 27 Dec 2011, 08:53
Re: [Skyrim/FO4] enb script extender
Ok, i'll do it, just need not to forget
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
-
Offline
- *sensei*
- Posts: 341
- Joined: 27 Dec 2011, 21:33
Re: [Skyrim/FO4] enb script extender
![Surprised :o](./images/smilies/mega_shok.gif)
_________________
OS: Windows 10
CPU: AMD R5 3600
RAM: Corsair DDR4 16GB 3200MHz Vengeance
GPU: AMD Radeon 5700 XT
Sound Card: X-FI Titanium HD
Mobo: ASRock X370 Pro4
Monitor: M340CLZ 34" 3440x1440 100HZ AMD FREE Sync Curved Monitor
OS: Windows 10
CPU: AMD R5 3600
RAM: Corsair DDR4 16GB 3200MHz Vengeance
GPU: AMD Radeon 5700 XT
Sound Card: X-FI Titanium HD
Mobo: ASRock X370 Pro4
Monitor: M340CLZ 34" 3440x1440 100HZ AMD FREE Sync Curved Monitor
-
Offline
- *blah-blah-blah maniac*
- Posts: 17586
- Joined: 27 Dec 2011, 08:53
Re: [Skyrim/FO4] enb script extender
I want to ask one important thing about motion blur. It's not a problem to have previous frame matrices, but the problem is frame time. Games do not compute it right after end of present call or any other conditions, so there is no way to measure precisely what game set as difference between last and current frames and as result motion blur always have different length, blurdir/elapsedtime calculation gives error because of elapsedtime. I don't know solution.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
-
Offline
- *sensei*
- Posts: 341
- Joined: 27 Dec 2011, 21:33
Re: [Skyrim/FO4] enb script extender
Hmm... Excuse me if I'm being ignorant, such coding is not my expertise, but couldn't you just subtract the previous frame matrix from the current frame matrix to get the velocity? Why would you need frame time?ENBSeries wrote:I want to ask one important thing about motion blur. It's not a problem to have previous frame matrices, but the problem is frame time. Games do not compute it right after end of present call or any other conditions, so there is no way to measure precisely what game set as difference between last and current frames and as result motion blur always have different length, blurdir/elapsedtime calculation gives error because of elapsedtime. I don't know solution.
_________________
OS: Windows 10
CPU: AMD R5 3600
RAM: Corsair DDR4 16GB 3200MHz Vengeance
GPU: AMD Radeon 5700 XT
Sound Card: X-FI Titanium HD
Mobo: ASRock X370 Pro4
Monitor: M340CLZ 34" 3440x1440 100HZ AMD FREE Sync Curved Monitor
OS: Windows 10
CPU: AMD R5 3600
RAM: Corsair DDR4 16GB 3200MHz Vengeance
GPU: AMD Radeon 5700 XT
Sound Card: X-FI Titanium HD
Mobo: ASRock X370 Pro4
Monitor: M340CLZ 34" 3440x1440 100HZ AMD FREE Sync Curved Monitor
-
Offline
- *blah-blah-blah maniac*
- Posts: 17586
- Joined: 27 Dec 2011, 08:53
Re: [Skyrim/FO4] enb script extender
Motion blur vector itself is useless, because frame (especially in B*da games) can be various length, so difference between previous matrix and current is also can be very much variative. Dividing such direction by time passed gives velocity, which must be used for blurring.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
-
Offline
- *blah-blah-blah maniac*
- Posts: 17586
- Joined: 27 Dec 2011, 08:53
Re: [Skyrim/FO4] enb script extender
![Image](http://i.imgur.com/36z7hc7.jpg)
This is motion blur which is difference of matrices as velocity, divided by time passed between old frame and current. The length of blurring in this case is controllable by scaling factor and everything looks more or less okay (i didn't used previous frame textures, so there are lot of bugs anyway). As soon as i do not read from game memory time which game use as current frame time to compute elapsed time and trying to make own computation, this blurring starts to change it's length in time and it's very much annoying. Even if to try interpolate it between 10 frames like i did in very old versions for gtasa, it do not fix problem entirely. I don't know if can do this in helper mod with Fallout4 or Skyrim, if such data available at all. When motion blur is based only on blurring two frames without time passed, then with high frame rate it almost invisible (for example in Crysis), but at low fps length of blurring will shake crazily because every frame time is not the same as previous one.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
-
Offline
- *sensei*
- Posts: 341
- Joined: 27 Dec 2011, 21:33
Re: [Skyrim/FO4] enb script extender
Yes, I see what you're saying, I even remember that graphical artifact from some other games or older ENB (not sure), when driving the motion blur length would jump from high to low constantly.
Anyways, maybe F4SE and ENBHelper plugin will help? Here's the latest changelog, maybe you'll find something in there: https://www.reddit.com/r/f4se/comments/ ... 4_runtime/
And here's the wiki documentation: https://www.creationkit.com/fallout4/in ... egory:F4SE
Anyways, maybe F4SE and ENBHelper plugin will help? Here's the latest changelog, maybe you'll find something in there: https://www.reddit.com/r/f4se/comments/ ... 4_runtime/
And here's the wiki documentation: https://www.creationkit.com/fallout4/in ... egory:F4SE
_________________
OS: Windows 10
CPU: AMD R5 3600
RAM: Corsair DDR4 16GB 3200MHz Vengeance
GPU: AMD Radeon 5700 XT
Sound Card: X-FI Titanium HD
Mobo: ASRock X370 Pro4
Monitor: M340CLZ 34" 3440x1440 100HZ AMD FREE Sync Curved Monitor
OS: Windows 10
CPU: AMD R5 3600
RAM: Corsair DDR4 16GB 3200MHz Vengeance
GPU: AMD Radeon 5700 XT
Sound Card: X-FI Titanium HD
Mobo: ASRock X370 Pro4
Monitor: M340CLZ 34" 3440x1440 100HZ AMD FREE Sync Curved Monitor
-
Offline
- *blah-blah-blah maniac*
- Posts: 17586
- Joined: 27 Dec 2011, 08:53
Re: [Skyrim/FO4] enb script extender
No, i don't see there anything about game time/timer.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
-
Offline
- *blah-blah-blah maniac*
- Posts: 565
- Joined: 05 Apr 2014, 10:29
Re: [Skyrim/FO4] enb script extender
manually save the time stamp everytime it updates?