Restored loading global shaders at game start from pre-3.0

Added GlobalShaderFile option to ddraw.ini.
Added an example global shader file to modderspack.
Minor edits to HeroAppearance.cpp.
This commit is contained in:
NovaRain
2019-12-14 11:05:12 +08:00
parent 3b82232b46
commit 04043989c6
9 changed files with 183 additions and 33 deletions
+4
View File
@@ -64,6 +64,10 @@ Mode=0
GraphicsWidth=0
GraphicsHeight=0
;Uncomment the option to use a hardware shader (requires DX9 graphics mode 4 or 5)
;The shader file <name>.fx must be placed in data\shaders\ and must contain one technique with one or more passes
;GlobalShaderFile=global.fx
;Set to 1 to do the palette conversion on the GPU
;Set to 2 to do the palette conversion on the CPU
;Set to 0 to pick automatically