* Specular color is now black by default

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8333 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
3.0
sha..rd 13 years ago
parent dde60c0792
commit dcb71def31
  1. 2
      engine/src/core-data/Common/MatDefs/Light/Lighting.vert

@ -188,7 +188,7 @@ void main(){
#else #else
AmbientSum = vec3(0.2, 0.2, 0.2) * g_AmbientLightColor.rgb; // Default: ambient color is dark gray AmbientSum = vec3(0.2, 0.2, 0.2) * g_AmbientLightColor.rgb; // Default: ambient color is dark gray
DiffuseSum = lightColor; DiffuseSum = lightColor;
SpecularSum = lightColor.rgb; SpecularSum = vec3(0.0);
#endif #endif
#ifdef VERTEX_COLOR #ifdef VERTEX_COLOR

Loading…
Cancel
Save