Skip to content

Commit 606b9d1

Browse files
authored
Merge pull request #13784 from donmccurdy/feat-gltfloader-normalscale-inverty
GLTFLoader: Invert normalScale.y, not normalScale.x.
2 parents 3346173 + 77b234b commit 606b9d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/js/loaders/GLTFLoader.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2042,7 +2042,7 @@ THREE.GLTFLoader = ( function () {
20422042
// https://github.com/KhronosGroup/glTF/tree/master/specification/2.0#materialnormaltexture
20432043
if ( material.normalScale ) {
20442044

2045-
material.normalScale.x = - material.normalScale.x;
2045+
material.normalScale.y = - material.normalScale.y;
20462046

20472047
}
20482048

0 commit comments

Comments
 (0)