1 Star 0 Fork 0

cwx135 / Anime4K

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
HLSL_Instructions.md 1.45 KB
一键复制 编辑 原始数据 按行查看 历史
bloc97 提交于 2019-10-10 19:08 . Update HLSL_Instructions.md

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

1
https://gitee.com/cwx135/Anime4K.git
git@gitee.com:cwx135/Anime4K.git
cwx135
Anime4K
Anime4K
master

搜索帮助