bloc97 / Anime4K

A High-Quality Real Time Upscaler for Anime Video
https://bloc97.github.io/Anime4K/
MIT License
18k stars 1.34k forks source link

Restore shader before or after downscaling? #132

Closed wolfdaddyh closed 2 years ago

wolfdaddyh commented 2 years ago

Hi, I really love Anime4k shaders and I have one small question: in mode A + A, you put the second restore shader after upscaling while in the other two modes, the second restore shader is put after downscaling x4, I’m wondering will it be better if I put the shader after upscaling and before downscaling in mode B + B?

bloc97 commented 2 years ago

The downscaling order only matters for ratios that are not x2 or x4. I swapped the order for A+A because it can oversharpen 720p->4K upscales, but B+B usually does not oversharpen and putting the restore after downscaling is faster...

One workaround if speed is important would be to use A+B with the second restore after downscale.