From 236911f269b49d25c3f984fa3766f4a02cab58ae Mon Sep 17 00:00:00 2001 From: Marisa Kirisame Date: Wed, 27 Oct 2021 21:24:55 +0200 Subject: [PATCH] Fix incorrect slider stepping. Update readme. --- README.md | 98 ++++++++++++++++++++++++++++++++--------------------- menudef.txt | 2 +- 2 files changed, 60 insertions(+), 40 deletions(-) diff --git a/README.md b/README.md index e348608..0f06773 100644 --- a/README.md +++ b/README.md @@ -2,38 +2,11 @@ Various fancy shaders for GZDoom ported from MariENB. +## Implemented Shaders + ### Luma Sharpen -Boosts small details. Doesn't cause noticeable halos like a typical sharpening -filter. - -### Color Grading Suite - -Control over RGB gamma/intensity, along with a "tint" filter that, with a -negative intensity, can also be used as a color booster (dunno how this even -works, I wrote it 7 years ago lol). On top of all that, you can also do the -same for saturation and value (not hue because that would just be dumb). - -### Color Matrix - -General purpose color mixing. The matrix is normalized in post. For experienced -users. - -### Hue-Saturation - -The GIMP filter in shader form. Allows shifting the hue and tweaking the -saturation and value of red, yellow, green, cyan, blue and magenta ranges. - -### Curves (TODO) - -8-point curve filter with cubic interpolation. Works just like the GIMP filter, -with curves for value, red, green and blue. - -### BlurSharpShift - -Blurring followed by sharpening, followed by chromatic aberration. This is a -meme filter chain that a lot of people love for some reason, claiming it adds -"photorealism" or something. +Boosts small details. Doesn't cause very noticeable halos like a typical sharpening filter. ### Grain @@ -41,17 +14,64 @@ Makes the screen fuzzy. A couple parameters can be tweaked freely. ### Screen Dirt -Overlays a noisy pattern onto the screen to make it filthy. Not a very good -filter, tbh, but I just kept it in for historical reasons. +Overlays a noisy pattern onto the screen to make it filthy. Not a very good filter, tbh, but I just kept it in for historical reasons. + +### Color Grading Suite + +Control over RGB gamma/intensity, along with a "tint" filter that, with a negative intensity, can also be used as a color booster (dunno how this even works, I wrote it 7 years ago lol). On top of all that, you can also do the same for saturation and value (not hue because that would just be dumb). + +### LUT Grading + +Premade lookup tables to alter color, all from the various MariENB editions I've made. More specialized LUTs will be added in the future. + +### Technicolor + +A filter that enhances color in some way, I don't know the technical details. + +### Color Matrix + +General purpose color mixing. The matrix is normalized in post. For experienced users. + +### Hue-Saturation + +The GIMP filter in shader form. Allows shifting the hue and tweaking the saturation and value of red, yellow, green, cyan, blue and magenta ranges. + +### BlurSharpShift + +Blurring followed by sharpening, followed by chromatic aberration. This is a meme filter chain that a lot of people love for some reason, claiming it adds "photorealism" or something. ### Vignette -Darkens the edges of the screen. Comes with "border blur", which also blurs -said edges. +Darkens the edges of the screen. Comes with "border blur", which also blurs said edges. -### Palette Reduction w/ Dither +### RetroFX -Part of the "Retro FX" megashader from old MariENB versions. Does what it says -on the tin. There's a multitude of palettes available to choose from. Most -IWADs are covered, along with some notable megawads, various DOS games, and a -couple "standard" palettes. +A combo of downscaling and palette reduction (with optional dither), which has been a staple of MariENB for years. There's a multitude of palettes available to choose from. Most IWADs are covered, along with some notable megawads, various DOS games, and a couple "standard" palettes. + +Not available yet are the features for aspect ratio correction, overscan/underscan or the old CRT filter (which wasn't exactly all that good, really). + +## Missing Shaders + +### Bloom + +It's very unlikely that this one will be added, unless I can hack something horribly using camera textures, idk. + +### Depth of Field + +Not a chance, this thing very blatantly needs Depth Buffer access, which is impossible in GZDoom thanks to portal rendering. + +### Tonemap + +Not needed, GZDoom implements its own. + +### Screen Frost / Heat Haze + +These aren't "general purpose" enough to be included. + +### Paint Filter + +Might add it, maybe??? + +### SMAA + +This needs to be part of GZDoom, honestly. \ No newline at end of file diff --git a/menudef.txt b/menudef.txt index ac8cbc5..2d78ffb 100644 --- a/menudef.txt +++ b/menudef.txt @@ -242,7 +242,7 @@ OptionMenu "MFXOptionsMenu" MFXSlider "$MFX_BSSSHARPRADIUS", "mfx_bsssharpradius", 0, 1, 0.01, 2 MFXSlider "$MFX_BSSSHARPAMOUNT", "mfx_bsssharpamount", 0, 8, 0.01, 2 Option "$MFX_BSSSHIFTENABLE", "mfx_bssshiftenable", "YesNo" - MFXSlider "$MFX_BSSSHIFTRADIUS", "mfx_bssshiftradius", 0, 1, 0.05, 2 + MFXSlider "$MFX_BSSSHIFTRADIUS", "mfx_bssshiftradius", 0, 1, 0.01, 2 SafeCommand "$MFX_RESET", "event resetmfxvars 5" StaticText " " StaticText "$MFX_VIGBBLUR", "Gold"