2
0
Эх сурвалжийг харах

Fixed webgl_buffergeometry_rawshader example. See #8618.

Mr.doob 9 жил өмнө
parent
commit
5ddffee56c

+ 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