Added loading multiple shader files for GlobalShaderFile option

Added a sharpen filter file as a global shader example.
Set TextureFilter to be enabled by default.
This commit is contained in:
NovaRain
2020-09-21 12:54:42 +08:00
parent bf9deabded
commit 0dd8ea5335
5 changed files with 161 additions and 32 deletions
+3 -1
View File
@@ -69,10 +69,12 @@ WindowData=0
;Uncomment the option to use a hardware shader (requires DX9 graphics mode)
;The shader file <name>.fx must be placed in <GameRoot>\<master_patches>\shaders\ and must contain one technique with one or more passes
;You can specify multiple shader files, separated by commas
;GlobalShaderFile=global.fx
;Set to 1 to enable linear texture filtering
TextureFilter=0
;This can be used in conjunction with GlobalShaderFile
TextureFilter=1
;Set to 1 to do the palette conversion on the GPU
;Set to 2 to do the palette conversion on the CPU