Simple Motion Blur 1.03a - Faster recovery

Re: Simple Motion Blur 1.03 - Faster recovery

Postby Pixel Eater » Fri Dec 14, 2018 12:17 am

Yeah that should be easy. I'll try a few different ways to see which is fastest.
User avatar
Pixel Eater
I sense evil I fear it here today, Like a bad dream that never goes away -MBerry
 
 
 
Joined: 02 Aug 2017
Location: In between the Moon and you, between the buried and me.

Re: Simple Motion Blur 1.03a - Faster recovery

Postby Pixel Eater » Fri Dec 14, 2018 1:36 am

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-)
User avatar
Pixel Eater
I sense evil I fear it here today, Like a bad dream that never goes away -MBerry
 
 
 
Joined: 02 Aug 2017
Location: In between the Moon and you, between the buried and me.

Re: Simple Motion Blur 1.03 - Faster recovery

Postby Grigori » Fri Dec 14, 2018 1:12 pm

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.
User avatar
Grigori
 
Joined: 05 Sep 2011
Discord: Agitatio#4183

Re: Simple Motion Blur 1.03a - Faster recovery

Postby Pixel Eater » Sat Dec 15, 2018 7:56 am

Samples at max? That's awesome, I can barely play above 10! :cry: :lol:
User avatar
Pixel Eater
I sense evil I fear it here today, Like a bad dream that never goes away -MBerry
 
 
 
Joined: 02 Aug 2017
Location: In between the Moon and you, between the buried and me.

Re: Simple Motion Blur 1.03a - Faster recovery

Postby Grigori » Sat Dec 15, 2018 11:39 am

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.
User avatar
Grigori
 
Joined: 05 Sep 2011
Discord: Agitatio#4183

Re: Simple Motion Blur 1.03a - Faster recovery

Postby Remaker » Sat Dec 29, 2018 6:59 pm

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 159 times
User avatar
Remaker
"Who are you?"
 
Joined: 01 Apr 2017
Location: Yank land.

Re: Simple Motion Blur 1.03a - Faster recovery

Postby Pixel Eater » Sun Dec 30, 2018 3:22 am

Interesting... any other mods loaded?
User avatar
Pixel Eater
I sense evil I fear it here today, Like a bad dream that never goes away -MBerry
 
 
 
Joined: 02 Aug 2017
Location: In between the Moon and you, between the buried and me.

Re: Simple Motion Blur 1.03a - Faster recovery

Postby Remaker » Sun Dec 30, 2018 5:41 am

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.
User avatar
Remaker
"Who are you?"
 
Joined: 01 Apr 2017
Location: Yank land.

Re: Simple Motion Blur 1.03a - Faster recovery

Postby Nash » Sun Dec 30, 2018 5:55 am

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.
User avatar
Nash
Nash Muhandes
 
 
 
Joined: 27 Oct 2003
Location: Kuala Lumpur, Malaysia

Re: Simple Motion Blur 1.03a - Faster recovery

Postby Remaker » Sun Dec 30, 2018 6:12 am

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
User avatar
Remaker
"Who are you?"
 
Joined: 01 Apr 2017
Location: Yank land.

Re: Simple Motion Blur 1.03a - Faster recovery

Postby namsan » Sun Dec 30, 2018 12:22 pm

This mod is pretty cool to use.
I already put this mod into autoload.
User avatar
namsan
Loves English but hates Revenants
 
Joined: 31 Mar 2012
Location: Japan
Discord: Namsan#8146

Re: Simple Motion Blur 1.03a - Faster recovery

Postby Pixel Eater » Sun Dec 30, 2018 6:12 pm

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 7 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 :)
User avatar
Pixel Eater
I sense evil I fear it here today, Like a bad dream that never goes away -MBerry
 
 
 
Joined: 02 Aug 2017
Location: In between the Moon and you, between the buried and me.

Re: Simple Motion Blur 1.03a - Faster recovery

Postby Remaker » Mon Dec 31, 2018 2:11 pm

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.
User avatar
Remaker
"Who are you?"
 
Joined: 01 Apr 2017
Location: Yank land.

Re: Simple Motion Blur 1.03a - Faster recovery

Postby Beezle » Mon Dec 31, 2018 11:11 pm

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!
Beezle
 
Joined: 16 Aug 2018
Discord: #8423

Re: Simple Motion Blur 1.03a - Faster recovery

Postby Pixel Eater » Tue Jan 01, 2019 8:02 pm

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 3 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.
User avatar
Pixel Eater
I sense evil I fear it here today, Like a bad dream that never goes away -MBerry
 
 
 
Joined: 02 Aug 2017
Location: In between the Moon and you, between the buried and me.

PreviousNext

Return to Shaders

Who is online

Users browsing this forum: No registered users and 1 guest