Welcome, Guest.
Username: Password: Remember me

TOPIC: Who said ReShade can't do quality motion blur?

Who said ReShade can't do quality motion blur? 2 years 2 months ago #1

This is a test frame blending shader I'm working on, maybe it's better than the Framework's maybe it's not, the idea is that it collects past frames and blends them.
Really alpha stage but I wanted some feedback.
The main technical issue, which can only be *so much* solved is that low framerates will yield a ghosting effect, but if you can get more than 60 (specially around the 100's) it looks fantastic.

Here's a test version you can get for 3.0: my.mixtape.moe/kacblt.fx
I'd recommend an intensity setting of 0.8.

On the technical part, it's just collecting the framebuffer 4 times on 4 techniques and then blending them in a 5th technique with the framebuffer.
I'm being careful not to introduce input lag as well.
Obviously this isn't exactly the prettiest implementation, but the quality seems to be a bit better than just lerping through the last frames like
lerp(lastFrame, currentFrame, shutterSpeed)

I'm considering implementing some sort of "framerate threshold", similar to what I did on another temporal motion blur shader I have here.
The great thing about this implementation is that it gives you high quality full scene motion blur, as long as you have enough FPS for it.

Here's a gif [HD]:
Likes to reinvent the wheel.

My shaders repository: www.github.com/luluco250/FXShaders
The administrator has disabled public write access.
The following user(s) said Thank You: crosire, andrew, Genrix, Aksine12, PureEvilWindom

Who said ReShade can't do quality motion blur? 2 years 2 months ago #2

Good work ! I was waiting for months, looking for a good motion blur in reshade.
I tested the shader, but did'nt understand, how it works, the image was frozen (ghosting), a bit dark. I have tested on reshade 3.0.7b.
The administrator has disabled public write access.

Who said ReShade can't do quality motion blur? 2 years 2 months ago #3

andrew wrote:
Good work ! I was waiting for months, looking for a good motion blur in reshade.
I tested the shader, but did'nt understand, how it works, the image was frozen (ghosting), a bit dark. I have tested on reshade 3.0.7b.

There are 5 techniques to be enabled, you'll get artifacts otherwise.
The actual blending occurs in FrameBlender_Blend, the others are just saving the image at different times.
Likes to reinvent the wheel.

My shaders repository: www.github.com/luluco250/FXShaders
The administrator has disabled public write access.

Who said ReShade can't do quality motion blur? 2 years 2 months ago #4

Doesn't seem to work for some reason ,i enabled all five techniques
The administrator has disabled public write access.

Who said ReShade can't do quality motion blur? 2 years 1 month ago #5

Hey did you update this shader ?
The administrator has disabled public write access.

Who said ReShade can't do quality motion blur? 1 month 2 days ago #6

release this shader please...
The administrator has disabled public write access.

Who said ReShade can't do quality motion blur? 1 month 2 days ago #7

i've got a feeling the best method for motion blur may be in some form of depth-based masking. you can blur the surfaces in motion then, without introducing ghosting on the edges.

not sure if burnout paradise didn't use something like that, to a degree at least. its motion blur implementation was pretty nice.
The administrator has disabled public write access.
The following user(s) said Thank You: jas01

Who said ReShade can't do quality motion blur? 1 month 2 days ago #8

unic0rn wrote:
i've got a feeling the best method for motion blur may be in some form of depth-based masking. you can blur the surfaces in motion then, without introducing ghosting on the edges.

not sure if burnout paradise didn't use something like that, to a degree at least. its motion blur implementation was pretty nice.
Looking at the gif in the startpost I get the feeling this is just a ghosting result which looks a bit like motion blur. Full screen 'everything moves at the same pace' motion blur is abit like ghosting using a temporal additive blend, which is easy to do (3 lines of code) but real motion blur is different: objects move at different speeds and therefore you need a different approach, one where you need velocities of the various areas that move. This paper is a great start: www.iryoku.com/next-generation-post-proc...uty-advanced-warfare by Jimenez, which builds on the work of McGuire e.a. (casual-effects.com/research/McGuire2012Blur/McGuire12Blur.pdf )

Having the screen blur a bit when the camera moves is IMHO just ghosting and doable with a temporal blend (as a key ingredient is missing: there's no velocity buffer/data, there's just a frame and a depth buffer, 2 of the 3 components)
Last Edit: 1 month 2 days ago by OtisInf.
The administrator has disabled public write access.

Who said ReShade can't do quality motion blur? 1 month 1 day ago #9

Where is the shader?) The link is 404
The administrator has disabled public write access.

Who said ReShade can't do quality motion blur? 4 weeks 1 day ago #10

I have been working on motion detection for other reasons. But, you think this motion blur paired up this Motion Detection shader would help?



Still WIP
My GitHub page where you can get the Latest release of SuperDepth3D github.com/BlueSkyDefender/Depth3D

My PayPal Me Link If you like to donate paypal.me/BlueSkyDefender

Also my steam page steamcommunity.com/id/BlueSkyDefender

Discord Server discord.gg/W2f7YhX
Last Edit: 4 weeks 1 day ago by BlueSkyKnight. Reason: Fixed video
The administrator has disabled public write access.
The following user(s) said Thank You: canceralp

Who said ReShade can't do quality motion blur? 4 weeks 1 day ago #11

I could not find your code for motion blur so I ended up using my old trails code that I used for light painting. I combined my motion detection code with trails and it seemed to be close to the same effect in your video.

I guess it can be done kind of...... If you people like it. I can fix it up a bit and submit it to the main repository.

press 0 and look at the leaf. It not very many samples. But, it looks almost like Per-object motion blur.


It's kind of hard when working with one past frame like this.

Here is the shader to test.
github.com/BlueSkyDefender/Depth3D/blob/...perimental/Trails.fx
My GitHub page where you can get the Latest release of SuperDepth3D github.com/BlueSkyDefender/Depth3D

My PayPal Me Link If you like to donate paypal.me/BlueSkyDefender

Also my steam page steamcommunity.com/id/BlueSkyDefender

Discord Server discord.gg/W2f7YhX
Last Edit: 4 weeks 1 day ago by BlueSkyKnight.
The administrator has disabled public write access.
The following user(s) said Thank You: jas01, Apocalypso

Who said ReShade can't do quality motion blur? 4 weeks 1 day ago #12

Hey.
I'm interested in this shader for sure. I think you did a very good work here. I think that with your motion detection algorithm done we could finally get a decent motion blur for ReShade.
The administrator has disabled public write access.

Who said ReShade can't do quality motion blur? 2 weeks 6 days ago #13

BlueSkyKnight wrote:
I have been working on motion detection for other reasons. But, you think this motion blur paired up this Motion Detection shader would help?



Still WIP
This can even be a used as a base for temporal anti aliasing applications.
Compare current and previous frames and blend accordingly.
The administrator has disabled public write access.