Ported MariENB tonemappers.

This commit is contained in:
Marisa the Magician 2023-09-04 23:43:11 +02:00
commit f7c175d1bb
9 changed files with 187 additions and 4 deletions

View file

@ -15,6 +15,14 @@ OptionValue "MFXGrainBlend"
3, "$MFX_BLENDMODE4"
}
OptionValue "MFXTonemap"
{
0, "$TXT_NO"
1, "$MFX_TMAP1"
2, "$MFX_TMAP2"
3, "$MFX_TMAP3"
}
OptionValue "MFXVigShape"
{
0, "$MFX_VIGSHAPE1"
@ -196,6 +204,20 @@ OptionMenu "MFXOptionsMenu"
MFXSlider "$MFX_DIRTCFACTOR", "mfx_dirtcfactor", 0, 1, 0.01, 2
SafeCommand "$MFX_RESET", "event resetmfxvars 1"
StaticText " "
StaticText "$MFX_TMAP", 1
StaticText " "
Option "$MFX_ENABLE", "mfx_tenable", "MFXTonemap"
MFXSlider "$MFX_TEXPOSURE", "mfx_texposure", 0, 10, 0.01, 2
MFXSlider "$MFX_TBLEND", "mfx_tblend", 0, 1, 0.01, 2
MFXSlider "$MFX_UNA", "mfx_una", 0, 10, 0.01, 2
MFXSlider "$MFX_UNB", "mfx_unb", 0, 10, 0.01, 2
MFXSlider "$MFX_UNC", "mfx_unc", 0, 10, 0.01, 2
MFXSlider "$MFX_UND", "mfx_und", 0, 10, 0.01, 2
MFXSlider "$MFX_UNE", "mfx_une", 0, 10, 0.01, 2
MFXSlider "$MFX_UNF", "mfx_unf", 0, 10, 0.01, 2
MFXSlider "$MFX_UNW", "mfx_unw", 0, 10, 0.01, 2
SafeCommand "$MFX_RESET", "event resetmfxvars 12"
StaticText " "
StaticText "$MFX_GRADE", 1
StaticText " "
Option "$MFX_ENABLE", "mfx_gradeenable", "YesNo"