Skip to content

Commit

Permalink
use build instead
Browse files Browse the repository at this point in the history
  • Loading branch information
RenaudRohlinger committed Sep 9, 2024
1 parent cda2952 commit d89e755
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
Binary file modified examples/screenshots/webgpu_instance_points_billboards.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 4 additions & 10 deletions examples/webgpu_instance_points_billboards.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
<script type="importmap">
{
"imports": {
"three": "../src/Three.WebGPU.js",
"three/tsl": "../src/Three.WebGPU.js",
"three": "../build/three.webgpu.js",
"three/tsl": "../build/three.webgpu.js",
"three/addons/": "./jsm/"
}
}
Expand Down Expand Up @@ -80,9 +80,7 @@

//

renderer = new THREE.WebGPURenderer( {
antialias: true
} );
renderer = new THREE.WebGPURenderer();
renderer.setPixelRatio( window.devicePixelRatio );
renderer.setSize( window.innerWidth, window.innerHeight );
renderer.setAnimationLoop( animate );
Expand All @@ -97,11 +95,7 @@

const gui = new GUI();

gui.add( material, 'sizeAttenuation' ).onChange( function () {

material.needsUpdate = true;

} );
gui.add( material, 'sizeAttenuation' );

gui.open();

Expand Down

0 comments on commit d89e755

Please sign in to comment.