Pārlūkot izejas kodu

Examples: Update particle count to 500k in WebGPU compute example (#30455)

Makio64 11 mēneši atpakaļ
vecāks
revīzija
ca28ca780a
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      examples/webgpu_compute_particles.html

+ 2 - 2
examples/webgpu_compute_particles.html

@@ -8,7 +8,7 @@
 	<body>
 
 		<div id="info">
-			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> WebGPU - Compute - 1M Particles
+			<a href="https://threejs.org" target="_blank" rel="noopener">three.js</a> WebGPU - Compute - 500k Particles
 			<div id="timestamps" style="
 				position: absolute;
 				top: 60px;
@@ -45,7 +45,7 @@
 
 			import { GUI } from 'three/addons/libs/lil-gui.module.min.js';
 
-			const particleCount = 1000000;
+			const particleCount = 500000;
 
 			const gravity = uniform( - .0098 );
 			const bounce = uniform( .8 );

粤ICP备19079148号