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:
parent
7fc7ae2500
commit
232ec85941
19 changed files with 689 additions and 591 deletions
10
shaders/glsl/mfx_retrofx.fp
Normal file
10
shaders/glsl/mfx_retrofx.fp
Normal 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);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue