Page 2 of 5

Re: Simple Motion Blur 1.03 - Faster recovery

Posted: Thu Dec 13, 2018 11:17 pm
by Pixel Eater
Yeah that should be easy. I'll try a few different ways to see which is fastest.

Re: Simple Motion Blur 1.03a - Faster recovery

Posted: Fri Dec 14, 2018 12:36 am
by Pixel Eater
As insane as it sounds, adding an if statement to the shader sped up the lighten blend mode. The reason I kept seperate .fp files is because the opposite is supposed to happen! I noticed another inefficiency as well, so in all that was a pretty good suggestion 8-)

Re: Simple Motion Blur 1.03 - Faster recovery

Posted: Fri Dec 14, 2018 12:12 pm
by Agitatio
Pixel Eater wrote:That should be the correct behaviour- it's brighter near to it's current position and fades to where it once was.
Right. I don't know how that thought came into my mind, now that I thought about it. Disregard.

I'm really enjoying the progress on this. I tried cranking everything to max and leaving strength at default on version 1.03, and I think I finally achieved the effect I wanted. Very subtle motion blur on really fast turns. Kinda like motion blur in Source Engine.

Re: Simple Motion Blur 1.03a - Faster recovery

Posted: Sat Dec 15, 2018 6:56 am
by Pixel Eater
Samples at max? That's awesome, I can barely play above 10! :cry: :lol:

Re: Simple Motion Blur 1.03a - Faster recovery

Posted: Sat Dec 15, 2018 10:39 am
by Agitatio
Pixel Eater wrote:Samples at max? That's awesome, I can barely play above 10! :cry: :lol:
I was surprised that I didn't see any noticeable performance impact too. But it's definitely overkill.
I think the max value could be lowered, because past 50 it's really hard to notice any difference.

Re: Simple Motion Blur 1.03a - Faster recovery

Posted: Sat Dec 29, 2018 5:59 pm
by Zemakat
It appears that my vision in-game instead is just a black screen. Once I enter in a new game, that always happens.

Here's a screenshot, edited so that's it doesn't take up so much space:
Edit.png
Edit.png (4.45 KiB) Viewed 4390 times

Re: Simple Motion Blur 1.03a - Faster recovery

Posted: Sun Dec 30, 2018 2:22 am
by Pixel Eater
Interesting... any other mods loaded?

Re: Simple Motion Blur 1.03a - Faster recovery

Posted: Sun Dec 30, 2018 4:41 am
by Zemakat
Pixel Eater wrote:Interesting... any other mods loaded?
I assumed it was the case, and launched it without any other mods, but nope, it appears there is something odd going on.

Re: Simple Motion Blur 1.03a - Faster recovery

Posted: Sun Dec 30, 2018 4:55 am
by Nash
Remaker wrote:It appears that my vision in-game instead is just a black screen. Once I enter in a new game, that always happens.

Here's a screenshot, edited so that's it doesn't take up so much space:
Edit.png
Post your video card/graphics hardware specs. You can see it at the beginning of the console.

Re: Simple Motion Blur 1.03a - Faster recovery

Posted: Sun Dec 30, 2018 5:12 am
by Zemakat
Nash wrote:
Remaker wrote:It appears that my vision in-game instead is just a black screen. Once I enter in a new game, that always happens.

Here's a screenshot, edited so that's it doesn't take up so much space:
Edit.png
Post your video card/graphics hardware specs. You can see it at the beginning of the console.
Intel HD Graphics 6000 1536 MB

Re: Simple Motion Blur 1.03a - Faster recovery

Posted: Sun Dec 30, 2018 11:22 am
by namsan
This mod is pretty cool to use.
I already put this mod into autoload.

Re: Simple Motion Blur 1.03a - Faster recovery

Posted: Sun Dec 30, 2018 5:12 pm
by Pixel Eater
Nash wrote:Post your video card/graphics hardware specs. You can see it at the beginning of the console.
Remaker wrote: Intel HD Graphics 6000 1536 MB
I did a little research on the model and it sounds like it's prone to overheat with modern gaming. Does the glitch go away when you toggle the effect off?

You can try this higher performance version in case it helps:
MBlur1.03b.pk3
(2.38 KiB) Downloaded 151 times
It scales the samples back for slow mouse movements because the effect is harder to see then anyway. Increasing the samples slider might actually be needed in order to see it again but don't go overboard in case it is overheating.
namsan wrote:This mod is pretty cool to use.
I already put this mod into autoload.
Thanks Namsan :)

Re: Simple Motion Blur 1.03a - Faster recovery

Posted: Mon Dec 31, 2018 1:11 pm
by Zemakat
Pixel Eater wrote:
Nash wrote:Post your video card/graphics hardware specs. You can see it at the beginning of the console.
Remaker wrote: Intel HD Graphics 6000 1536 MB
I did a little research on the model and it sounds like it's prone to overheat with modern gaming. Does the glitch go away when you toggle the effect off?

You can try this higher performance version in case it helps:
MBlur1.03b.pk3
It scales the samples back for slow mouse movements because the effect is harder to see then anyway. Increasing the samples slider might actually be needed in order to see it again but don't go overboard in case it is overheating.
namsan wrote:This mod is pretty cool to use.
I already put this mod into autoload.
Thanks Namsan :)
Yup, it goes away when it's off. However, another glitch with the new version is that normal mode makes everything look white. Unlike the black screen glitch, it doesn't intrude the status bar or the player weapon sprite, it just simply leaves the rest of my vision white, like as if the map is only a white void.

Re: Simple Motion Blur 1.03a - Faster recovery

Posted: Mon Dec 31, 2018 10:11 pm
by Beezle
Hey Pixel Eater, normally I dislike motion blur in 1st person shooters but with the right settings, it actually works pretty well. I think you did a decent job here implementing it and the settings for it. By default its just a tad too much, but my personal settings are Samples - 5, Strength - 40 or 48, Recovery - on the default 64, and Blend - Lighten. I'd recommend these settings to anyone using this. Thanks Pixel Eater!

Re: Simple Motion Blur 1.03a - Faster recovery

Posted: Tue Jan 01, 2019 7:02 pm
by Pixel Eater
Remaker wrote:Yup, it goes away when it's off. However, another glitch with the new version is that normal mode makes everything look white. Unlike the black screen glitch, it doesn't intrude the status bar or the player weapon sprite, it just simply leaves the rest of my vision white, like as if the map is only a white void.
Thanks for keeping me up to date Remaker. Unfortunately it really seems like it's due to a bigger issue than the shader itself- it's defined as 'beforebloom' which means it can only affect what's behind the player sprite. If the glitch is happening in front of the status bar it's either hardware or something happening within GZDoom itself. That said, try this one and see if anything improves:
MBlur1.03x.pk3
(2.42 KiB) Downloaded 155 times
I've marked it "x" as it's a regression because it gets the screen height within the shader itself rather than from zscript.