diff --git a/code/nel/src/3d/driver/opengl3/driver_glsl_shader_generator.cpp b/code/nel/src/3d/driver/opengl3/driver_glsl_shader_generator.cpp index f5efd73e0..ba8e8e3ec 100644 --- a/code/nel/src/3d/driver/opengl3/driver_glsl_shader_generator.cpp +++ b/code/nel/src/3d/driver/opengl3/driver_glsl_shader_generator.cpp @@ -1374,7 +1374,7 @@ namespace NL3D ss << "vec4 texel0 = texture2D( sampler0, texCoord0 );" << std::endl; ss << "vec4 texel1 = textureCube( sampler1, cubeTexCoords );" << std::endl; ss << "vec4 texel;" << std::endl; - ss << "texel.rgb = texel0.rgb * diffuseColor;" << std::endl; + ss << "texel.rgb = texel0.rgb * diffuseColor.rgb;" << std::endl; ss << "texel.a = texel0.a;" << std::endl; ss << "texel.rgb = texel1.rgb * texel.a + texel.rgb;" << std::endl; ss << "texel.a = texel1.a;" << std::endl;