mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 04:03:59 +02:00
Don't include the color on the skin.
This commit is contained in:
parent
b3b82ba56c
commit
e3a1341be1
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue