Michael Herzog 1 неделя назад
Родитель
Сommit
e41978b3f1

BIN
examples/screenshots/webgpu_skinning_points.jpg


+ 1 - 1
examples/webgpu_compute_reduce.html

@@ -677,7 +677,7 @@
 
 				const fnDef = Fn( () => {
 
-					const inputSize = uint( inputBuffer.bufferCount.length );
+					const inputSize = uint( inputBuffer.bufferCount );
 					const rowOffset = workgroupId.x.mul( rowSize );
 
 					// If the current rows elements exceed the bounds of the input

+ 2 - 2
examples/webgpu_lights_phong.html

@@ -12,11 +12,11 @@
 			<a href="https://threejs.org/" target="_blank" rel="noopener" class="logo-link"></a>
 
 			<div class="title-wrapper">
-				<a href="https://threejs.org/" target="_blank" rel="noopener">three.js</a><span>Phong</span>
+				<a href="https://threejs.org/" target="_blank" rel="noopener">three.js</a><span>Phong Material</span>
 			</div>
 
 			<small>
-				<b style="color:red">Left: Red lights</b> - <b>Center: All lights</b> - <b style="color:blue">Right: blue light</b>
+				Selective lights with Phong materials.
 			</small>
 		</div>
 

+ 1 - 0
examples/webgpu_skinning_points.html

@@ -85,6 +85,7 @@
 							materialPoints.opacityNode = shapeCircle();
 							materialPoints.sizeNode = pointSpeedAttribute.length().exp().min( 5 ).mul( 5 ).add( 1 );
 							materialPoints.sizeAttenuation = false;
+							materialPoints.alphaTest = 0.5;
 
 							const updateSkinningPoints = Fn( () => {
 

+ 1 - 0
test/e2e/puppeteer.js

@@ -19,6 +19,7 @@ const exceptionList = [
 
 	// Needs investigation
 	'physics_rapier_instancing',
+	'physics_jolt_instancing',
 	'webgl_shadowmap',
 	'webgl_postprocessing_dof2',
 	'webgl_postprocessing_glitch',

粤ICP备19079148号