-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Line Darkening Shader
bloc97 edited this page May 28, 2020
·
3 revisions
Anime4K_DarkLines_HQ.glsl
Anime4K_DarkLines_Fast.glsl
Anime4K_DarkLines_VeryFast.glsl
Makes lines darker, increasing perceived contrast. Good for anime with very light lines and/or alongside line thinning, as thinner lines might become even lighter. Use according to personal taste and type of anime.
The recommended version to use is Anime4K_DarkLines_HQ.glsl
.
Line Thinning Shader
DTD Shader
#define STRENGTH 1.5 //Line darken proportional strength, higher is darker.
Since the definition of what is a "line" is ambiguous, this shader might darken non-line edges and small shapes. This is usually unnoticeable unless comparing the processed image directly with the original.
The Fast/VeryFast variants perform darkening on a lower resolution mask. This might affect quality on small details, but significantly improves speed.