From 81ea919d618f29798ebf5536f3f6c2ac39849276 Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 21 Dec 2019 15:42:04 +0200 Subject: [PATCH] - 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' ... --- src/rendering/gl/shaders/gl_shader.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rendering/gl/shaders/gl_shader.cpp b/src/rendering/gl/shaders/gl_shader.cpp index a48596b299..904abae050 100644 --- a/src/rendering/gl/shaders/gl_shader.cpp +++ b/src/rendering/gl/shaders/gl_shader.cpp @@ -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";