Browse Source

* Specular color is now black by default

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8333 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
sha..rd 14 years ago
parent
commit
dcb71def31
1 changed files with 1 additions and 1 deletions
  1. 1 1
      engine/src/core-data/Common/MatDefs/Light/Lighting.vert

+ 1 - 1
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