From dcb71def314ab14b20525423820b70313e289531 Mon Sep 17 00:00:00 2001 From: "sha..rd" Date: Sun, 2 Oct 2011 19:15:38 +0000 Subject: [PATCH] * Specular color is now black by default git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8333 75d07b2b-3a1a-0410-a2c5-0572b91ccdca --- engine/src/core-data/Common/MatDefs/Light/Lighting.vert | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/src/core-data/Common/MatDefs/Light/Lighting.vert b/engine/src/core-data/Common/MatDefs/Light/Lighting.vert index 238ffd21c..2c3285e12 100644 --- a/engine/src/core-data/Common/MatDefs/Light/Lighting.vert +++ b/engine/src/core-data/Common/MatDefs/Light/Lighting.vert @@ -188,7 +188,7 @@ void main(){ #else AmbientSum = vec3(0.2, 0.2, 0.2) * g_AmbientLightColor.rgb; // Default: ambient color is dark gray DiffuseSum = lightColor; - SpecularSum = lightColor.rgb; + SpecularSum = vec3(0.0); #endif #ifdef VERTEX_COLOR