Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/misc_exporter_usdz.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
scene.environment = pmremGenerator.fromScene( new RoomEnvironment(), 0.04 ).texture;

const ktx2loader = new KTX2Loader().detectSupport( renderer );
const dracoLoader = new DRACOLoader().setDecoderPath( 'jsm/libs/draco/' );
const dracoLoader = new DRACOLoader();
const gltfLoader = new GLTFLoader();

gltfLoader.setDRACOLoader( dracoLoader );
Expand Down
1 change: 0 additions & 1 deletion examples/webgl_animation_skinning_ik.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@
scene.add( ambientLight );

const dracoLoader = new DRACOLoader();
dracoLoader.setDecoderPath( 'jsm/libs/draco/' );
const gltfLoader = new GLTFLoader();
gltfLoader.setDRACOLoader( dracoLoader );

Expand Down
1 change: 0 additions & 1 deletion examples/webgl_loader_draco.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@

// Configure and create Draco decoder.
const dracoLoader = new DRACOLoader();
dracoLoader.setDecoderPath( 'jsm/libs/draco/' );

init();

Expand Down
1 change: 0 additions & 1 deletion examples/webgl_postprocessing_gtao.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
function init() {

const dracoLoader = new DRACOLoader();
dracoLoader.setDecoderPath( 'jsm/libs/draco/' );
const loader = new GLTFLoader();
loader.setDRACOLoader( dracoLoader );
loader.setPath( 'models/gltf/' );
Expand Down
1 change: 0 additions & 1 deletion examples/webgl_postprocessing_ssr.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@

// Configure and create Draco decoder.
const dracoLoader = new DRACOLoader();
dracoLoader.setDecoderPath( 'jsm/libs/draco/' );

init();

Expand Down
1 change: 0 additions & 1 deletion examples/webgpu_caustics.html
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
// model / textures

const dracoLoader = new DRACOLoader();
dracoLoader.setDecoderPath( 'jsm/libs/draco/' );

gltf = ( await new GLTFLoader().setDRACOLoader( dracoLoader ).loadAsync( './models/gltf/duck.glb' ) ).scene;
gltf.scale.setScalar( .5 );
Expand Down
1 change: 0 additions & 1 deletion examples/webgpu_postprocessing_ao.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,6 @@
// models

const dracoLoader = new DRACOLoader();
dracoLoader.setDecoderPath( 'jsm/libs/draco/' );
const loader = new GLTFLoader();
loader.setDRACOLoader( dracoLoader );
loader.setPath( 'models/gltf/' );
Expand Down
1 change: 0 additions & 1 deletion examples/webgpu_postprocessing_ssr.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
scene.backgroundNode = screenUV.distance( .5 ).remap( 0, 0.5 ).mix( color( 0x888877 ), color( 0x776666 ) );

const dracoLoader = new DRACOLoader();
dracoLoader.setDecoderPath( 'jsm/libs/draco/' );

const loader = new GLTFLoader();
loader.setDRACOLoader( dracoLoader );
Expand Down
1 change: 0 additions & 1 deletion examples/webgpu_tsl_angular_slicing.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@
// model

const dracoLoader = new DRACOLoader();
dracoLoader.setDecoderPath( 'jsm/libs/draco/' );

const gltfLoader = new GLTFLoader();
gltfLoader.setDRACOLoader( dracoLoader );
Expand Down
1 change: 0 additions & 1 deletion examples/webgpu_upscaling_fsr1.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
// model

const dracoLoader = new DRACOLoader();
dracoLoader.setDecoderPath( 'jsm/libs/draco/' );
const loader = new GLTFLoader();
loader.setDRACOLoader( dracoLoader );

Expand Down
1 change: 0 additions & 1 deletion examples/webgpu_upscaling_taau.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@
// model

const dracoLoader = new DRACOLoader();
dracoLoader.setDecoderPath( 'jsm/libs/draco/' );
const loader = new GLTFLoader();
loader.setDRACOLoader( dracoLoader );

Expand Down
1 change: 0 additions & 1 deletion examples/webgpu_volume_caustics.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
// Model / Textures

const dracoLoader = new DRACOLoader();
dracoLoader.setDecoderPath( 'jsm/libs/draco/' );

gltf = ( await new GLTFLoader().setDRACOLoader( dracoLoader ).loadAsync( './models/gltf/duck.glb' ) ).scene;
gltf.scale.setScalar( .5 );
Expand Down