Przeglądaj źródła

Adjust box material in instanced demo

Maciek Jurczyk 4 lat temu
rodzic
commit
d8c856bae4
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      examples/webgl_modifier_curve_instanced.html

+ 1 - 1
examples/webgl_modifier_curve_instanced.html

@@ -51,7 +51,7 @@
 				camera.lookAt( scene.position );
 
 				const boxGeometry = new THREE.BoxBufferGeometry( 0.1, 0.1, 0.1 );
-				const boxMaterial = new THREE.MeshBasicMaterial( 0x99ff99 );
+				const boxMaterial = new THREE.MeshBasicMaterial();
 
 				const curves = [[
 					{ x: 1, y: - 0.5, z: - 1 },