Update mpv shaders
This commit is contained in:
13
config/mpv/shaders/SSimDownscaler.glsl
Normal file → Executable file
13
config/mpv/shaders/SSimDownscaler.glsl
Normal file → Executable file
@ -1,19 +1,18 @@
|
||||
// Source: https://gist.github.com/igv/36508af3ffc84410fe39761d6969be10
|
||||
|
||||
// Requires linear-downscaling=no. Can be used with sharp scalers now (finally able to suppress ringing artifacts).
|
||||
|
||||
// Revised 05/15/22
|
||||
// https://gist.github.com/igv/36508af3ffc84410fe39761d6969be10
|
||||
//
|
||||
// SSimDownscaler by Shiandow
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or
|
||||
// modify it under the terms of the GNU Lesser General Public
|
||||
// License as published by the Free Software Foundation; either
|
||||
// version 3.0 of the License, or (at your option) any later version.
|
||||
//
|
||||
//
|
||||
// This library is distributed in the hope that it will be useful,
|
||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
// Lesser General Public License for more details.
|
||||
//
|
||||
//
|
||||
// You should have received a copy of the GNU Lesser General Public
|
||||
// License along with this library.
|
||||
|
||||
@ -217,4 +216,4 @@ vec4 hook() {
|
||||
avg /= W;
|
||||
vec4 L = POSTKERNEL_texOff(0);
|
||||
return vec4(avg[1] + avg[2] * L.rgb - avg[0], L.a);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user