It's silly that this was necessary... but it was.

This commit is contained in:
Shyotl
2015-02-25 03:04:49 -06:00
parent b7454f5f43
commit af41a652e4
10 changed files with 11 additions and 23 deletions

View File

@@ -44,9 +44,8 @@ void main()
//transform vertex
vary_texcoord0 = (texture_matrix0 * vec4(texcoord0,0,1)).xy;
mat4 mat = getObjectSkinnedTransform();
mat4 mat = modelview_matrix * getObjectSkinnedTransform();
mat = modelview_matrix * mat;
vec3 pos = (mat*vec4(position.xyz, 1.0)).xyz;
vec4 norm = vec4(position.xyz, 1.0);