bacondither / Adaptive-sharpen

Image sharpening shader
Other
30 stars 3 forks source link

Adaptive-sharpen

Adaptive sharpen is an image sharpening shader written in HLSL. It can be used by MPC-HC, MPDN or any other software that can use pixel shaders. The shader tries to sharpen somewhat blurry edges the most whilst doing the least sharpening for very sharp edges and flat areas. This results in less visible ringing, noise and banding than a "regular" image sharpener. It's tuned and designed for use post-resize.

Requirements:

Settings are stored in the second pass file. curve_height is the main knob for controlling sharpening strength.

Caution! If the shader passes are added in the wrong order or the alpha channel is truncated, it will return a green screen.

Forum thread - http://forum.doom9.org/showthread.php?t=172131