Fix bug breaking shader when skeleton+tangents were used, closes #8673

This commit is contained in:
Juan Linietsky 2017-06-12 19:54:35 -03:00
parent 831860695c
commit fc04e0b1f2

View file

@ -245,7 +245,7 @@ void main() {
normal = vec4(normal,0.0) * m; normal = vec4(normal,0.0) * m;
#if defined(ENABLE_TANGENT_INTERP) || defined(ENABLE_NORMALMAP) || defined(LIGHT_USE_ANISOTROPY) #if defined(ENABLE_TANGENT_INTERP) || defined(ENABLE_NORMALMAP) || defined(LIGHT_USE_ANISOTROPY)
tangent.xyz = vec4(tangent.xyz,0.0) * mn; tangent.xyz = vec4(tangent.xyz,0.0) * m;
#endif #endif
} }
#endif #endif