MassFX Shader Pack

  • Posts: 177
4 years 2 months ago - 4 years 2 months ago #21 by kingeric1992
@Marty
No need for any search algorithm...the paper didn't do full screen FFT only for performance reason.

simple demo:
Warning: Spoiler! [ Click to expand ]

Please Log in or Create an account to join the conversation.

  • Posts: 177
4 years 2 months ago - 4 years 2 months ago #22 by kingeric1992
following the last post:
Alternatively, with triangle aperture:

==========================================
Ghosting flares can also benefit from the process.

iFFT( FFT(Aperture texture) * FFT(source texture) ) == ghosting flares texture

then just multipassing & deform the flare texture to get multiple inter-reflection ghost on different deformation & scaling level.
(the last part is what missing in most UE and Unity ghost, which makes them looked weird)

==========================================
About combining the downscaled texture, there really aren't any benefit for doing that when you can simply assign new textures.
Also keeping those texture separate can allow easy access for other effect that require blured scene.
The following user(s) said Thank You: luluco250

Please Log in or Create an account to join the conversation.

  • Posts: 10
4 years 2 months ago - 4 years 2 months ago #23 by kanuuna
I got the pack to work just fine with Rocket League (DX9), but I ran into this error message when I tried ArmA III just now.



I couldn't figure it out myself. I didn't try any other DX10+ titles, but I'd guess it's an issue with DX10 / DX11 games.

Please Log in or Create an account to join the conversation.

  • Posts: 3740
4 years 2 months ago #24 by crosire

kanuuna wrote: I got the pack to work just fine with Rocket League (DX9), but I ran into this error message when I tried ArmA III just now.

It's a ReShade bug (already fixed in upcoming update).
The following user(s) said Thank You: kanuuna, luluco250

Please Log in or Create an account to join the conversation.

  • Posts: 4
4 years 2 months ago #25 by SSSekky
Would it be possible for MBMB to still receive the blur, even if you keep
turning the same direction repeatedly or without stopping?

Please Log in or Create an account to join the conversation.

  • Posts: 177
4 years 2 months ago - 4 years 2 months ago #26 by luluco250

Would it be possible for MBMB to still receive the blur, even if you keep
turning the same direction repeatedly or without stopping?


It works by calculating the velocity between the last mouse position (from the last frame) - the current mouse position divided by the time it took to render the last frame, so it is taking your mouse velocity correctly, however there is a parameter called "MBMB_Velocity" which multiplies the velocity calculated.
By default I set it to something that doesn't blurs too much in menus, so you only see motion blur when you move the camera really fast, but you can crank it up to 1.0 for the full velocity, I wouldn't recommend values higher than 1.0 however, I haven't tested what'd happen.

Edit to avoid double posting:

Updated the pack! Now it sports color lookup table color correction and film grain, depth functionality has been re-added as well as motion blur can now depend on depth.

I've also included a few pre-made LUTs so you can have a headstart :^)

Sunset LUT:
Warning: Spoiler! [ Click to expand ]


Black gold LUT:
Warning: Spoiler! [ Click to expand ]


Personally I'm using what I named "grim" LUT, it's a mix of soft S curves with luminosity-based desaturation:
Warning: Spoiler! [ Click to expand ]


EDIT: There was a simple mistake in grain.fx (a #pragma message that lacked the word "message"), I've updated the repository with a fixed file.

EDIT: Added a power parameter to LUT, you can now set how much color correction you want.
The following user(s) said Thank You: jas01, andrew, SSSekky

Please Log in or Create an account to join the conversation.

  • Posts: 177
4 years 2 months ago #27 by luluco250
Implemented a fake HDR + tonemapping shader, also with white fix if you use tonemapping on LDR games.
It can affect the image as well as some shaders.

Here's what it looks like with HDR + tonemapping + whitefix + other shaders:
Warning: Spoiler! [ Click to expand ]

Versus no shaders or anything applied:
Warning: Spoiler! [ Click to expand ]


Enjoy
The following user(s) said Thank You: kanuuna, CUBER, Tycholarfero, DeMondo

Please Log in or Create an account to join the conversation.

  • Posts: 504
4 years 2 months ago - 4 years 1 month ago #28 by Wicked Sick
My question may be really stupid, but is it possible to use this with the mediator?

Please Log in or Create an account to join the conversation.

  • Posts: 177
4 years 2 months ago - 4 years 2 months ago #29 by luluco250

My quest may be really stupid, but is it possible to use this with the mediator?


I don't know, you're open to try if you want to. I don't use the mediator, so I can't tell.

Edit:
Looks great on Morrowind! (gonna release a preset soon I think)

The fake HDR + Bloom makes everything look absolutely fantastic.
Warning: Spoiler! [ Click to expand ]
The following user(s) said Thank You: Tycholarfero, andrew

Please Log in or Create an account to join the conversation.

  • Posts: 177
4 years 3 weeks ago - 4 years 3 weeks ago #30 by luluco250
Hey there, sorry for lack of feedback for the longest time, I've been working a lot on version 5, rewritten tons of stuff.
Here's a little preview of something very special, HDR + bloom + eye adaptation: Gfycat

Hope you guys like it, I should be releasing it soon as I just need to port back some effects from older versions, as well as tweak some other existing ones.

To approximate HDR I convert the color to HSV, then I do:
(col.z being color value)
float threshold = smoothstep(0, 1, col.z * (1 - HDR_Threshold));
col.z = lerp(col.z, col.z * HDR_OverBright, threshold);

And then convert the color back. Obviously this won't look realistic 100% of times but tweaking it well should look good.

I've implemented tonemapping using John Hable's filmic curve with an gamma-powered exposure adjustment, which allows for both manual and automatic exposure. Auto also has a speed factor in sort of a 'temporal' way, so the transition can be smoothed.

The bloom has been improved and tweaked, also has a scale factor now.
The following user(s) said Thank You: SpinelessJelly, MiscSarcasm, piltrafus, WalterDasTrevas

Please Log in or Create an account to join the conversation.

  • Posts: 92
4 years 3 weeks ago #31 by piltrafus

luluco250 wrote: ... Auto also has a speed factor in sort of a 'temporal' way, so the transition can be smoothed.


I'm pretty sure it's the first time I see a smooth transition between two states/values implemented in reshade. Looking forward to see your updated suite. However I'm really, really looking forward to test if that smooth transition can be ported to the DOF shaders. A smooth transition between focal point depth changes is something I've been lusting for.
Great job.

Please Log in or Create an account to join the conversation.

  • Posts: 177
4 years 3 weeks ago - 4 years 3 weeks ago #32 by luluco250
The smooth transition is quite simple, here's how it works:

pass where value is determined, then lerped with the last value by a speed value
pass where the determined value is saved to the last value

I wonder if this could be used to create temporal effects...?

Please Log in or Create an account to join the conversation.

  • Posts: 10
3 years 10 months ago - 3 years 10 months ago #33 by Estebanium
I was able to port MassFX to regular Framework, using ReShade 2.0.3.1120. I only use PBB and HDR, it was a bit tricky to get it to work.
My only problem is, that the HDR effect indoors enhances the vibrancy, making it very colorful.
The following user(s) said Thank You: jas01

Please Log in or Create an account to join the conversation.

  • Posts: 7
3 years 9 months ago #34 by Aksine12
Hey Luluco ,is the adaptive tonemapping done yet ?

Please Log in or Create an account to join the conversation.

  • Posts: 95
3 years 3 months ago #35 by F D B

luluco250 wrote: Implemented a fake HDR + tonemapping shader, also with white fix if you use tonemapping on LDR games.
It can affect the image as well as some shaders.

Here's what it looks like with HDR + tonemapping + whitefix + other shaders:

Warning: Spoiler! [ Click to expand ]

Versus no shaders or anything applied:
Warning: Spoiler! [ Click to expand ]


Enjoy



Where can I get "WhiteFix"?

Please Log in or Create an account to join the conversation.

  • Posts: 177
3 years 3 months ago #36 by luluco250

F D B wrote:

luluco250 wrote: Implemented a fake HDR + tonemapping shader, also with white fix if you use tonemapping on LDR games.
It can affect the image as well as some shaders.

Here's what it looks like with HDR + tonemapping + whitefix + other shaders:

Warning: Spoiler! [ Click to expand ]

Versus no shaders or anything applied:
Warning: Spoiler! [ Click to expand ]


Enjoy



Where can I get "WhiteFix"?


Man you really dug up a grave didn't you?
White fix is simply a bad solution to tonemapping an already LDR image.
You basically take a screenshot of how a pure white pixel looks on after applying all effects, then see what it's value is.
For example, if it's 0.83 I think you're supposed to divide the final image by 0.83, I don't really remember it that well.
Just use the shaders in the framework, this isn't even made for ReShade 3.0.

Please Log in or Create an account to join the conversation.

  • Posts: 126
2 years 9 months ago #37 by Chavolatra
This Shader works in reshade 3 or dont ??? .If dont work you can port this effects ???

Please Log in or Create an account to join the conversation.

  • Posts: 4
1 year 7 months ago #38 by Michael35699
How would you use this? I'm sorry I just discovered Reshade today.

Please Log in or Create an account to join the conversation.