Major MariFX update:

- Complete RetroFX filter (downscale+palette).
 - Additional palettes, extending to the full range of 64.
 - Localization support (just English for now).
 - Better slider input (shift for 10x increments, alt for 5x increments)
 - Use nosave cvars for performance and so they don't end up in savegames.
 - A lot of cleanup.
This commit is contained in:
Marisa the Magician 2021-10-07 19:51:47 +02:00
commit 232ec85941
19 changed files with 689 additions and 591 deletions

View file

@ -128,11 +128,21 @@ HardwareShader postprocess scene
Texture VignetteTexture "textures/mfxvig.png"
}
HardwareShader postprocess scene
{
Name "mfx_retrofx"
Shader "shaders/glsl/mfx_retrofx.fp" 330
Uniform vec2 bresl
}
HardwareShader postprocess scene
{
Name "mfx_palette"
Shader "shaders/glsl/mfx_palette.fp" 330
Texture PalLUTTexture "textures/mfxpal.png"
Uniform vec2 sfact
Uniform float palsat
Uniform float palpow
Uniform float paldither
Uniform int palnum
}