Procházet zdrojové kódy

Fixed webgl_buffergeometry_rawshader example. See #8618.

Mr.doob před 9 roky
rodič
revize
5ddffee56c
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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