Browse Source

Cleanup examples. (#32634)

Nathan Bierema 1 month ago
parent
commit
a1c17345e6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/webgpu_lights_tiled.html

+ 1 - 1
examples/webgpu_lights_tiled.html

@@ -191,7 +191,7 @@
 
 				// tile indexes debug, needs to be updated every time the renderer size changes
 
-				const debugBlockIndexes = lighting.getNode( scene, camera ).setSize( window.innerWidth * window.devicePixelRatio, window.innerHeight * window.devicePixelRatio ).getBlock().toColor().div( count * 2 );
+				const debugBlockIndexes = lighting.getNode( scene ).setSize( window.innerWidth * window.devicePixelRatio, window.innerHeight * window.devicePixelRatio ).getBlock().toColor().div( count * 2 );
 
 				postProcessing.outputNode = compose.add( debugBlockIndexes.mul( tileInfluence ) );
 				postProcessing.needsUpdate = true;

粤ICP备19079148号