Make skinning.vert valid 1.10 code so the checker can run to completion
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@12880 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
088fd6edd5
commit
a45bf5092f
@ -32,8 +32,9 @@ void main()
|
||||
vertTran += JointTransform[index - 1];
|
||||
|
||||
ecPos = gl_ModelViewMatrix * vertTran * gl_Vertex;
|
||||
|
||||
normal = normalize(gl_NormalMatrix * mat3(vertTran) * gl_Normal);
|
||||
|
||||
normal = (vertTran * vec4(gl_Normal, 0.0)).xyz;
|
||||
normal = normalize(gl_NormalMatrix * normal);
|
||||
|
||||
gl_FrontColor = vec4(0,0,0,0);
|
||||
for(int i = 0;i < MAX_LIGHT_NUM;i++)
|
||||
|
Loading…
Reference in New Issue
Block a user