mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- fixed shader compilation errors with OpenGL backend
ERROR: 0:95: Use of undeclared identifier 'uTextureModulateColor' ERROR: 0:104: Use of undeclared identifier 'uTextureAddColor' ERROR: 0:107: Use of undeclared identifier 'uTextureModulateColor' ...
This commit is contained in:
parent
bb8db9422f
commit
81ea919d61
1 changed files with 3 additions and 0 deletions
|
@ -242,6 +242,9 @@ bool FShader::Load(const char * name, const char * vert_prog_lump, const char *
|
|||
i_data += "uniform vec4 uObjectColor2;\n";
|
||||
i_data += "uniform vec4 uDynLightColor;\n";
|
||||
i_data += "uniform vec4 uAddColor;\n";
|
||||
i_data += "uniform vec4 uTextureBlendColor;\n";
|
||||
i_data += "uniform vec4 uTextureModulateColor;\n";
|
||||
i_data += "uniform vec4 uTextureAddColor;\n";
|
||||
i_data += "uniform vec4 uBlendColor;\n";
|
||||
i_data += "uniform vec4 uFogColor;\n";
|
||||
i_data += "uniform float uDesaturationFactor;\n";
|
||||
|
|
Loading…
Reference in a new issue