Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 1.45 KB

HLSL_Instructions.md

File metadata and controls

40 lines (30 loc) · 1.45 KB

Usage Instructions (HLSL)

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

  1. Install MPC-HC or MPC-BE and madVR (Optional, but good for quality)
  2. (MPC-HC Only) Enable Full Floating Point Processing or Half Floating Point Processing in Renderer Settings.
  3. Download the .hlsl shader files here
  4. (MPC-BE Only) Copy the .hlsl files to %AppData%\MPC-BE\Shaders
  5. Add the shaders (The order is important!)

Step1

Different screen resolutions need different shaders:
Smaller or equal to 1080p

-Anime4K_ComputeLum  
-Anime4K_Push  
-Anime4K_ComputeGradient  
-Anime4K_PushGrad_Weak  

Larger than 1080p

-Anime4K_ComputeLum  
-Anime4K_Push  
-Anime4K_ComputeGradient  
-Anime4K_PushGrad  

Note: Anime4K_Push is an optional pass that thins lines, it can be removed if the effect is unsatisfactory for certain anime.

Step2

If madVR is installed

These are heavy on the GPU, do not use them if rendering times rise above 30ms

Settings used for all the comparisons:
Settings1

Settings1