-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Upscale Shaders
Anime4K_Upscale_CNN_M_x2.glsl
Anime4K_Upscale_CNN_L_x2.glsl
Anime4K_Upscale_CNN_UL_x2.glsl
Anime4K_Upscale_DoG_x2.glsl
Anime4K_Upscale_Original_x2.glsl
Performs super-resolution. Doubles image size with the expectation that the low resolution image is artifact-free. (I.e. No noise, blur or any other degradation.) Different variants of upscaling shaders can be stacked for x4 or even x8 upscaling.
Upscale+Deblur Shaders
Upscale+Denoise Shaders
Any degradation remaining on the image will be amplified. It is better to use other shaders first to reduce noise or blur.
CNN_M and CNN_L variants also introduces small amounts of checkerboard artifacts due to the pixelshuffle layer and the low parameter count.
As this shader doubles the image size and quadruples the number of pixels, other shaders placed after this will be 4x slower.
Anime4K_Auto_Downscale_Pre_x4.glsl
can be used between the first pass and the second pass of upscaling for 1440p/4K monitors. This shader downscales the intermediate image so that the second upscaling pass does not upscale beyond your screen size, wasting processing power.
mpv
does not support activating the same shader twice. It is recommended to use different variants for larger upscales, with the slowest/highest quality variant running first. Copying and renaming the shader works, but due to an unknown cause, the shaders will run significantly slower. Thus it highly recommended to use different variants.