Skip to content

Commit

Permalink
Examples: webgpu_lines_fat_raycasting
Browse files Browse the repository at this point in the history
  • Loading branch information
RenaudRohlinger committed Dec 4, 2024
1 parent ad0ff80 commit bc21f04
Show file tree
Hide file tree
Showing 5 changed files with 370 additions and 4 deletions.
1 change: 1 addition & 0 deletions examples/files.json
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@
"webgpu_lights_selective",
"webgpu_lights_spotlight",
"webgpu_lights_tiled",
"webgpu_lines_fat_raycasting",
"webgpu_lines_fat_wireframe",
"webgpu_lines_fat",
"webgpu_loader_gltf",
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/webgl_lines_fat.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"imports": {
"three": "../build/three.module.js",
"three/addons/": "./jsm/",
"stats-gl": "https://cdn.jsdelivr.net/npm/stats-gl@2.2.8/dist/main.js"
"stats-gl": "https://cdn.jsdelivr.net/npm/stats-gl@3.6.0/dist/main.js"
}
}
</script>
Expand Down Expand Up @@ -138,7 +138,7 @@
window.addEventListener( 'resize', onWindowResize );
onWindowResize();

stats = new Stats( { horizontal: false } );
stats = new Stats( { horizontal: false, trackGPU: true } );
stats.init( renderer );
document.body.appendChild( stats.dom );

Expand Down
4 changes: 2 additions & 2 deletions examples/webgl_lines_fat_raycasting.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"imports": {
"three": "../build/three.module.js",
"three/addons/": "./jsm/",
"stats-gl": "https://cdn.jsdelivr.net/npm/stats-gl@2.2.8/dist/main.js"
"stats-gl": "https://cdn.jsdelivr.net/npm/stats-gl@3.6.0/dist/main.js"
}
}
</script>
Expand Down Expand Up @@ -194,7 +194,7 @@
window.addEventListener( 'resize', onWindowResize );
onWindowResize();

stats = new Stats( { horizontal: false } );
stats = new Stats( { horizontal: false, trackGPU: true } );
stats.init( renderer );
document.body.appendChild( stats.dom );

Expand Down
Loading

0 comments on commit bc21f04

Please sign in to comment.