- 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.
15 lines
406 B
GLSL
15 lines
406 B
GLSL
/*
|
|
BlurSharpShift shift from MariENB
|
|
(C)2012-2021 Marisa Kirisame
|
|
*/
|
|
void main()
|
|
{
|
|
vec2 coord = TexCoord;
|
|
vec4 res = texture(InputTexture,coord);
|
|
vec2 bresl = textureSize(InputTexture,0);
|
|
vec2 bof = (1.0/bresl)*bssshiftradius;
|
|
res.g = texture(InputTexture,coord).g;
|
|
res.r = texture(InputTexture,coord+vec2(0,-bof.y)).r;
|
|
res.b = texture(InputTexture,coord+vec2(0,bof.y)).b;
|
|
FragColor = res;
|
|
}
|