Преглед изворни кода

Adjust box material in instanced demo

Maciek Jurczyk пре 4 година
родитељ
комит
d8c856bae4
1 измењених фајлова са 1 додато и 1 уклоњено
  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 );
 				camera.lookAt( scene.position );
 
 
 				const boxGeometry = new THREE.BoxBufferGeometry( 0.1, 0.1, 0.1 );
 				const boxGeometry = new THREE.BoxBufferGeometry( 0.1, 0.1, 0.1 );
-				const boxMaterial = new THREE.MeshBasicMaterial( 0x99ff99 );
+				const boxMaterial = new THREE.MeshBasicMaterial();
 
 
 				const curves = [[
 				const curves = [[
 					{ x: 1, y: - 0.5, z: - 1 },
 					{ x: 1, y: - 0.5, z: - 1 },