diff --git a/files/shaders/lighting.glsl b/files/shaders/lighting.glsl index ff6ee9419..5c21b7bee 100644 --- a/files/shaders/lighting.glsl +++ b/files/shaders/lighting.glsl @@ -27,7 +27,7 @@ vec4 doLighting(vec3 viewPos, vec3 viewNormal, vec4 vertexColor, out vec3 shadow if (colorMode == 3) { diffuse = gl_FrontMaterial.diffuse; - ambient - vertexColor.xyz; + ambient = vertexColor.xyz; } else if (colorMode == 2) {