ソースを参照

Fixed webgl_buffergeometry_rawshader example. See #8618.

Mr.doob 9 年 前
コミット
5ddffee56c
1 ファイル変更1 行追加1 行削除
  1. 1 1
      examples/webgl_buffergeometry_rawshader.html

+ 1 - 1
examples/webgl_buffergeometry_rawshader.html

@@ -135,7 +135,7 @@
 
 				}
 
-				geometry.addAttribute( 'color', new THREE.BufferAttribute( colors, 4 ) );
+				geometry.addAttribute( 'color', new THREE.BufferAttribute( colors, 4, true ) );
 
 				// material