|
@@ -1619,6 +1619,12 @@ THREE.GLTFLoader = ( function () {
|
|
|
|
|
|
pending.push( parser.assignTexture( materialParams, 'aoMap', material.occlusionTexture.index ) );
|
|
|
|
|
|
+ if ( material.occlusionTexture.strength !== undefined ) {
|
|
|
+
|
|
|
+ materialParams.aoMapIntensity = material.occlusionTexture.strength;
|
|
|
+
|
|
|
+ }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
if ( material.emissiveFactor !== undefined ) {
|