Don't include the color on the skin.

This commit is contained in:
Andrzej Kapolka 2014-09-15 12:52:35 -07:00
parent b3b82ba56c
commit e3a1341be1
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ void main(void) {
normal = normalize(gl_ModelViewMatrix * normal);
// pass along the diffuse color
gl_FrontColor = gl_Color * gl_FrontMaterial.diffuse;
gl_FrontColor = gl_FrontMaterial.diffuse;
// and the texture coordinates
gl_TexCoord[0] = gl_MultiTexCoord0;

View file

@ -43,7 +43,7 @@ void main(void) {
interpolatedTangent = gl_ModelViewMatrix * interpolatedTangent;
// pass along the diffuse color
gl_FrontColor = gl_Color * gl_FrontMaterial.diffuse;
gl_FrontColor = gl_FrontMaterial.diffuse;
// and the texture coordinates
gl_TexCoord[0] = gl_MultiTexCoord0;