Fix bug breaking shader when skeleton+tangents were used, closes #8673
This commit is contained in:
parent
831860695c
commit
fc04e0b1f2
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue