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

@ -0,0 +1,10 @@
/*
RetroFX downscaling from MariENB
(C)2012-2021 Marisa Kirisame
*/
void main()
{
// far more simplified when the actual scale calculations are on the zscript side
ivec2 ncoord = ivec2((floor(TexCoord*bresl)/bresl)*textureSize(InputTexture,0));
FragColor = texelFetch(InputTexture,ncoord,0);
}