Skip to content
Prev Previous commit
basisTranscoderPath is the correct term, since it's the path to basis…
… .wasm and .js files
  • Loading branch information
James Kane committed Sep 3, 2022
commit 9df1d2cb50ab12aa341cc250c703624510d25deb
6 changes: 3 additions & 3 deletions docs/components/gltf-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ When using glTF models compressed with Draco, KTX2 or Meshopt, you must configur

```html
<a-scene gltf-model="dracoDecoderPath: path/to/decoder/;
ktx2TranscoderPath: path/to/transcoder/;
basisTranscoderPath: path/to/transcoder/;
meshoptDecoderPath: path/to/meshopt_decoder.js;">
<a-entity gltf-model="url(pony.glb)"></a-entity>
</a-scene>
Expand All @@ -145,7 +145,7 @@ When using glTF models compressed with Draco, KTX2 or Meshopt, you must configur
| Property | Description | Default Value |
|------------------|--------------------------------------|----|
| dracoDecoderPath | Path to the Draco decoder libraries. | '' |
| ktx2TranscoderPath | Path to the KTX2 transcoder libraries. | '' |
| basisTranscoderPath | Path to the basis/KTX2 transcoder libraries. | '' |
| meshoptDecoderPath | Path to the Meshopt decoder. | '' |

`dracoDecoderPath` path must be a folder containing three files:
Expand All @@ -159,7 +159,7 @@ These files are available from the three.js repository, under
automatically choose whether to use a WASM or JavaScript decoder, so both should
be included. A Google-hosted version of the Draco decoder libraries saves you from needing to include these libraries in your own project: set `https://www.gstatic.com/draco/v1/decoders/` as the value for `dracoDecoderPath`.

`ktx2TranscoderPath` path must be a folder containing two files:
`basisTranscoderPath` path must be a folder containing two files:

basis_transcoder.js — JavaScript wrapper for the WebAssembly transcoder.
basis_transcoder.wasm — WebAssembly transcoder.
Expand Down