mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-05 01:11:24 +02:00
Don't use gl_Color for skin.
This commit is contained in:
parent
72f38900bb
commit
42c8701b26
2 changed files with 2 additions and 2 deletions
|
@ -35,7 +35,7 @@ void main(void) {
|
|||
normal = normalize(gl_ModelViewMatrix * normal);
|
||||
|
||||
// pass along the vertex color
|
||||
gl_FrontColor = vec4(gl_Color.rgb, 0.0);
|
||||
gl_FrontColor = vec4(1.0, 1.0, 1.0, 0.0);
|
||||
|
||||
// and the texture coordinates
|
||||
gl_TexCoord[0] = gl_MultiTexCoord0;
|
||||
|
|
|
@ -43,7 +43,7 @@ void main(void) {
|
|||
interpolatedTangent = gl_ModelViewMatrix * interpolatedTangent;
|
||||
|
||||
// pass along the vertex color
|
||||
gl_FrontColor = vec4(gl_Color.rgb, 0.0);
|
||||
gl_FrontColor = vec4(1.0, 1.0, 1.0, 0.0);
|
||||
|
||||
// and the texture coordinates
|
||||
gl_TexCoord[0] = gl_MultiTexCoord0;
|
||||
|
|
Loading…
Reference in a new issue