Prechádzať zdrojové kódy

Fixed broken ribbons example.

Interestingly here performance doesn't seem to be affected.
alteredq 14 rokov pred
rodič
commit
a719d289cc
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      examples/webgl_ribbons.html

+ 1 - 1
examples/webgl_ribbons.html

@@ -129,7 +129,7 @@
 				for ( j = 0; j < ygrid; j++ ) {
 
 					materials[c] = new THREE.MeshBasicMaterial( { color:0xffffff, vertexColors:true } );
-					materials[c].program = material_base.program;
+					//materials[c].program = material_base.program;
 
 					ribbon = new THREE.Ribbon( i % 2 ? geometry : geometry2, materials[c] );
 					ribbon.rotation.x = 0;