Gaussian Blur / Bloom / Unsharpmask
- Ioxa
- Topic Author
JPulowski wrote: I was also playing with original Gaussian shader and I wonder if it is possible to run it in a single pass instead of multiple passes. I created this scratch for MPC-HC: pastebin.com/rU34DiFR
Obviously it is incomplete, the problematic part is sampling. I could not find a way to do it as originally intended.
Thats pretty much how I was thinking of doing it, kind of just follow the LumaSharpen shader and use the sample weights and offsets from the gaussian shader for the blur passes. But LumaSharpen has a wrap pass now, not sure what it does or how it works, but I'm guessing the custom shader would need one if I were going to use it for the gaussian shader.
Please Log in or Create an account to join the conversation.
- Ioxa
- Topic Author
Myself and some others were getting crashes in some games and I think I found the solution. I updated GAUSS.fx, this seemed to eliminate some of the crashes but not all. So I edited a couple different versions, one for SweetFX and one for MasterEffect Reborn. I haven't had any issues while using those files. I haven't tested them with all my games so there may still be some issues I haven't run into yet.
Also added a Custom.h file for SweetFX. It is still a work in progress but the blur and sharpen should work correctly.
I updated the OP with the new files, changed the install instructions, and listed a few new settings options I added.
Please Log in or Create an account to join the conversation.
- SiriusHours
Please Log in or Create an account to join the conversation.
- Ioxa
- Topic Author
SiriusHours wrote: Solid work Loxa, definitely gonna go for a rip with this on.
Let me know if you have any issues or recommendations!
EDIT: I made a mistake earlier and uploaded some incomplete files. If anyone happened to download any of them there may be a few problems. I fixed the issues and reuploaded everything.
Please Log in or Create an account to join the conversation.
- Sh1nRa358
Please Log in or Create an account to join the conversation.
- Ioxa
- Topic Author
Sh1nRa358 wrote: I get compilation failed when using the sweetfx version of gaussfx. I get a yellow message when using custom (overwrites existing custom file), and I get a crash when using the gauss.fx. Trying to use it with PCSX2 again. Before you updated, the gauss.fx was working. But it caused crashes on emulators when going in to window mode from a fullscreen mode.
Thanks for letting me know. I think I know what the error is from in the custom.h file, it should still work though. I'll test the others to see if I can figure out the problems.
EDIT: Just tested everything. The SweetFX and ME versions both worked fine on my end. Maybe redownload the files in case you grabbed them before I caught my mistakes. Also double check the install instructions, to be safe try putting the #include line at the very bottom of the file. And if you have the custom file in SweetFX make sure you set USE_CUSTOM to 0 because it will redefine some stuff (I should probably change the definitions in the custom so that doesn't happen).
For GAUSS.fx, it loaded up but crashed when going from windowed to fullscreen, same problem you had with the previous version. It worked fine when I renamed it to ReShade.fx so my guess is that crash has something to do with chaining the files, which the SweetFX and ME versions should fix.
If you still get the error with the SweetFX version let me know what it says.
Please Log in or Create an account to join the conversation.
- Sh1nRa358
The effect doesn't look like the release before it. There are alot of options now. Anyway you could reupload so that it looks the same as it once did?
Or if you could make an alternate version and use the version you had before and just fix the window to full thing.
How it use to look:
How it looks now even after using the same settings from the one before:
This is without it:
Please Log in or Create an account to join the conversation.
- Ioxa
- Topic Author
Sh1nRa358 wrote: Ah okay. Put it by the wrong cartoon word,
The effect doesn't look like the release before it. There are alot of options now. Anyway you could reupload so that it looks the same as it once did?
Or if you could make an alternate version and use the version you had before and just fix the window to full thing.
How it use to look:
How it looks now even after using the same settings from the one before:
This is without it:
Hmm... What settings were you using before and what settings are you using now? It could be something with the brightpass filter or maybe something due to the changes I made in the passes.
Please Log in or Create an account to join the conversation.
- Sh1nRa358
I changed this version's settings to mimic the old version (left new options untouched).
*the settings for the 3 versions you have up now are configured differently*
Please Log in or Create an account to join the conversation.
- Ioxa
- Topic Author
Sh1nRa358 wrote: I was using the default settings that you had in the download for the previous version.
I changed this version's settings to mimic the old version (left new options untouched).
*the settings for the 3 versions you have up now are configured differently*
Try this, GaussEffect = 3, Gauss Strength = 0.33, GaussBloomWarmth = 0, USE_BP = 1, BloomIntensity = 3.00, addBloom = 0, and either USE_SlantGauss = 1 or GaussQuality = 1. You could try messing with the bloom width but I wouldn't go above 2.00 cuz it might get choppy.
But you should try experimenting with the different settings, definitely don't depend on my settings. If you set GaussEffect to 5 you can see the image that the effects are being applied to, that image then gets blended into the original image. GaussStrength determines how much gets blended into the original image.
Please Log in or Create an account to join the conversation.
- Sh1nRa358
//Makes the bright stuff brighter.
#define LuminanceBP 0.0800f //default 0.0800f Lower #'s = brighter
//Makes entire image brighter.
#define GrayBP 0.1800f //default 0.1800f Higher #'s = brighter.
//Cutoff for what is considered bright.
#define WhiteCutOffBP 0.800f //default 0.800f
I changed this to this. And the other similar code block too. It says it doesn't do anything if bp2 isnt 1 but it does. I get the same color as pic 1 nowl But it doesn't glow exactly like the 1st pic.
I tried you're recommendation just now and it was a little on the too bright side. In game words are kinda unreadable and everything is almost white.
If you don't have the original, if i send it to you, could you just fix the crash thing only and send it back? It's just way too many options now and I would just like the way it was without having to spend alot of time on it. I prefer to spend time on actual gaming
Pwetty Pweeease xD j/k
Please Log in or Create an account to join the conversation.
- Ioxa
- Topic Author
Haha, yeah, I'll upload one for you. I still have a copy of the old one. I'll probably upload it late tomorrow or sometime on Monday.
EDIT: I had a little extra time tonight so put together that file for you. I tested it with PCSX2 real quick and didn't have any problems. Same install instructions as the GAUSS4SweetFX file, you just have to rename it. Or you can keep the file name, it just has to match whatever file name is in the quotes in the #include line.
download
Please Log in or Create an account to join the conversation.
- Sh1nRa358
Perfect, no crashes. Thanks again, I appreciate it. One of the best shaders ever~
Please Log in or Create an account to join the conversation.
- Ioxa
- Topic Author
Sh1nRa358 wrote: Had to change a couple settings and now it's perfect. Just like the first image now
Perfect, no crashes. Thanks again, I appreciate it. One of the best shaders ever~
Cool, glad that worked for you. I think I figured out why the two looked so different, for some reason the horizontal blur pass isn't working. I'll probably go back through and make everything more like the one asked for, everything seemed to be working in that one.
Please Log in or Create an account to join the conversation.
- Ioxa
- Topic Author
BF4withContrast
BF4original
BioshockWithContrast
BioshockOriginal
BioshockWithContrast
BioshockOriginal
Here is the file if anyone wants to try it out.
GAUSS4MEwithContrastEnhancement
It has to be chained into MasterEffect to work, thats just the way I was testing it. Instructions for chaining are on the first page. File will have to be renamed or make the adjustment in the install instructions. Personally I think it looks best running it before ME and then putting ME's bloom on top of it.
Please Log in or Create an account to join the conversation.
- Wicked Sick
Please Log in or Create an account to join the conversation.
- Ioxa
- Topic Author
Wicked Sick wrote: Will you make it for sfx only too?
Yeah, here you go.
Gauss4SweetFXwithContrastEnhancement
Please Log in or Create an account to join the conversation.
- Wicked Sick
Do you know if there's way to use ReShade in BF while playing online without being kicked because of it?
Please Log in or Create an account to join the conversation.
- Ioxa
- Topic Author
I haven't had any problems using it online. You should be good unless something has changed in the last few days.
Please Log in or Create an account to join the conversation.
- Wicked Sick
Please Log in or Create an account to join the conversation.