Temporary fix for Mavericks: the skin shader isn't getting the color, so just

use white.  We're not using vertex colors on anything skinned yet, anyway.
This commit is contained in:
Andrzej Kapolka 2013-10-25 14:40:00 -07:00
parent b6f2498364
commit 62b2388592

View file

@ -32,7 +32,7 @@ void main(void) {
normal = normalize(gl_ModelViewMatrix * normal);
// pass along the vertex color
gl_FrontColor = gl_Color;
gl_FrontColor = vec4(1.0, 1.0, 1.0, 1.0);
// and the texture coordinates
gl_TexCoord[0] = gl_MultiTexCoord0;