Skip to content

Commit 54090fd

Browse files
authored
Merge pull request #15634 from 06wj/gltf-export
GLTFExporter: aoMap's texCoord should be 1
2 parents 5e55ef6 + c0e4d94 commit 54090fd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

examples/js/exporters/GLTFExporter.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,10 @@ THREE.GLTFExporter.prototype = {
981981
// occlusionTexture
982982
if ( material.aoMap ) {
983983

984-
var occlusionMapDef = { index: processTexture( material.aoMap ) };
984+
var occlusionMapDef = {
985+
index: processTexture( material.aoMap ),
986+
texCoord: 1
987+
};
985988

986989
if ( material.aoMapIntensity !== 1.0 ) {
987990

0 commit comments

Comments
 (0)