Skip to content

Commit

Permalink
Examples: Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Sep 17, 2020
1 parent cd95aa4 commit 5e1417c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/webgpu_sandbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,16 @@
plane.position.set( - 1, - 1, 0 );
scene.add( plane );

// compress texture
// compressed texture

const ddsLoader = new DDSLoader();
const dxt5Texture = ddsLoader.load( './textures/compressed/explosion_dxt5_mip.dds' );

const materialBoxCompressed = new THREE.MeshBasicMaterial( { map: dxt5Texture, transparent: true } );
const materialCompressed = new THREE.MeshBasicMaterial( { map: dxt5Texture, transparent: true } );

box = new THREE.Mesh( geometryBox, materialBoxCompressed );
box.position.set( - 3, 1, 0 );
scene.add( box );
const boxCompressed = new THREE.Mesh( geometryBox, materialCompressed );
boxCompressed.position.set( - 3, 1, 0 );
scene.add( boxCompressed );

// points

Expand Down

0 comments on commit 5e1417c

Please sign in to comment.