|
@@ -42,7 +42,7 @@
|
|
<sup>2</sup>支持UV变换,但存在一些重要的限制。
|
|
<sup>2</sup>支持UV变换,但存在一些重要的限制。
|
|
Transforms applied to
|
|
Transforms applied to
|
|
a texture using the first UV slot (all textures except aoMap and lightMap) must share the same
|
|
a texture using the first UV slot (all textures except aoMap and lightMap) must share the same
|
|
- transform, or no transfor at all.
|
|
|
|
|
|
+ transform, or no transfor at all.
|
|
aoMap 和 lightMap 纹理不能被变换。每个材质最多只能使用一次变换。
|
|
aoMap 和 lightMap 纹理不能被变换。每个材质最多只能使用一次变换。
|
|
每次对使用具有唯一变换的纹理都会导致一次额外的GPU纹理上传。
|
|
每次对使用具有唯一变换的纹理都会导致一次额外的GPU纹理上传。
|
|
请参阅#[link:https://github.com/mrdoob/three.js/pull/13831 13831] 和
|
|
请参阅#[link:https://github.com/mrdoob/three.js/pull/13831 13831] 和
|
|
@@ -57,7 +57,7 @@
|
|
|
|
|
|
// Optional: Provide a DRACOLoader instance to decode compressed mesh data
|
|
// Optional: Provide a DRACOLoader instance to decode compressed mesh data
|
|
var dracoLoader = new THREE.DRACOLoader();
|
|
var dracoLoader = new THREE.DRACOLoader();
|
|
- dracoLoader.setDecoderPath( '/examples/js/libs/draco' );
|
|
|
|
|
|
+ dracoLoader.setDecoderPath( '/examples/js/libs/draco/' );
|
|
loader.setDRACOLoader( dracoLoader );
|
|
loader.setDRACOLoader( dracoLoader );
|
|
|
|
|
|
// Load a glTF resource
|
|
// Load a glTF resource
|