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 13:03:05 +08:00
parent 314100f231
commit 90a9ee5f15
3 changed files with 155 additions and 25 deletions
+3 -1
View File
@@ -53,10 +53,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