Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 849 Bytes

GLSL_Instructions.md

File metadata and controls

11 lines (8 loc) · 849 Bytes

Usage Instructions (GLSL / MPV)

If you wish to use another media player, look at their documentation on how to install GLSL shaders and modify the shader accordingly if needed.

1- Install mpv
2- Download the .glsl shader files here
3- Copy the .glsl files to %AppData%\mpv\shaders for Windows or ~/.config/mpv/shaders for Linux.
4- If mpv.conf does not exist in %AppData%\mpv\ or ~/.config/mpv, create an empty file and follow these instructions to optimize your configuration.
5- Add this line to mpv.conf to enable the shaders: glsl-shaders="~~/shaders/Anime4K_Adaptive.glsl"

Unlike HLSL, the GLSL shader can auto-detect the scaling factor and adjust its strength accordingly.