From 3ccb826034df819f94bc9ae3a6387ba1e57779bb Mon Sep 17 00:00:00 2001 From: somewhatlurker <52014015+somewhatlurker@users.noreply.github.com> Date: Tue, 28 Jul 2020 15:53:38 +1000 Subject: [PATCH] ShaderPatch: make all toon improvements compatible with patched AMD shaders --- source-code/data/plugins/ShaderPatch.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/source-code/data/plugins/ShaderPatch.ini b/source-code/data/plugins/ShaderPatch.ini index a3bc1a7..5bb258d 100644 --- a/source-code/data/plugins/ShaderPatch.ini +++ b/source-code/data/plugins/ShaderPatch.ini @@ -49,6 +49,7 @@ stage_blinn.*\.fp=arch:GA,TU||cfg:compat||from:NRMH normal, a_normal;||to:NRM no cloth_npr1.*=cfg:toon_improve||from:MAD tmp.y, lc.z, 1.2, -0.5;||to:MAD tmp.y, lc.z, , ; skin_default.*=cfg:toon_improve||from:MAD diff.xyz, spec, spec_ratio, diff;||to: .*eye.*=cfg:toon_eyes_improve||from:ADD o_color_f0.w, diff.x, diff.y;||to: +.*eye.*=cfg:toon_eyes_improve||from:ADD result.color.w, diff.x, diff.y;||to: hair_npr1.*=cfg:toon_hair_improve||from:MUL spec.x, tmp.x, 0.7;||to:MUL spec.x, tmp.x, 0.7; MUL diff, diff, ; tone_map_npr1.*=cfg:toon_lines_improve||from:MUL density.y, density.y, 0.25;||to:MUL density.y, density.y, ; tone_map_npr1.*=cfg:toon_lines_improve||from:MAD density.w, density.x, 0.7, 0.25;||to:MAD density.w, density.x, , ;