소스 검색

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 );
 
 				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 },