diff --git a/source-code/data/plugins/ShaderPatch.ini b/source-code/data/plugins/ShaderPatch.ini index d419142..f773d07 100644 --- a/source-code/data/plugins/ShaderPatch.ini +++ b/source-code/data/plugins/ShaderPatch.ini @@ -51,6 +51,14 @@ hair_npr1.*=cfg:toon_hair||from:MUL spec.x, tmp.x, 0.7;||to:MUL spec.x, tmp.x, 0 tone_map_npr1.*=cfg:toon_lines||from:MUL density.y, density.y, 0.25;||to:MUL density.y, density.y, ; tone_map_npr1.*=cfg:toon_lines||from:MAD density.w, density.x, 0.7, 0.25;||to:MAD density.w, density.x, , ; +# Intel/AMD related patches +(?:movie|sprite|imgfilter).*=cfg:intel||from:; ||to:;\n +(?:movie|sprite|imgfilter).*=cfg:intel||from:(?:RET|TXL|NRM|OPTION NV_fragment|PARAM p_charfragment.color|ATTRIB).*?||to:## +(?:movie|sprite|imgfilter).*=cfg:intel||from:(?:SHORT |LONG ).*?||to: +(?:movie|sprite|imgfilter).*=cfg:amd||from:PARAM p_charfragment.color||to:## +(?:movie|sprite|imgfilter).*=cfg:amd||from:!!NVfp4.0||to:!!ARBfp1.0 +(?:movie|sprite|imgfilter).*=cfg:amd||from:POW||to:##POW + # Debug patches: # Nametags # Adds comments with the shader file name to the shader text. Useful for debugging issues