u/Glittering-Cherry-90

▲ 10 r/mpv

Adaptive Sharpen: the author's latest HQ version, now for mpv

If you use adaptive-sharpen.glsl in mpv, you're on a port that switched to the author's lower-quality one-pass in 2020 and hasn't been updated since 2022. bacondither's latest full-quality 2-pass (2021) never made it to mpv, so I ported it.

What you get: crisper detail with fewer halos around edges, and the same result whether mpv runs on D3D11 or Vulkan.

Comparison (slider; pick "HQ 2-pass (new)" on one side): https://slow.pics/s/taH5tV9P

Download: https://github.com/flowreen/Miscellaneous-shaders/blob/mpv-adaptive-sharpen-2pass/Adaptive-sharpen%20-%20mpv/Adaptive-sharpen-mpv.glsl

Put it in your mpv shaders folder and add glsl-shaders=~~/shaders/Adaptive-sharpen-mpv.glsl to mpv.conf. Strength is curve_height in the Settings block at the start of pass 2 (default 1.0, up to 2.0 for stronger).

All credit to bacondither. I've also offered it to his repo: https://github.com/bacondither/Miscellaneous-shaders/pull/1

reddit.com
u/Glittering-Cherry-90 — 12 days ago