Browse Source

Made colored billboard particles smaller.

That's about maximum size of point primitives ANGLE can handle, at least on my ATI card :(

It seems this max size can be GPU specific:

http://www.pouet.net/topic.php?which=6092&page=1
alteredq 14 years ago
parent
commit
b817eaf9f9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      examples/webgl_particles_billboards_colors.html

+ 1 - 1
examples/webgl_particles_billboards_colors.html

@@ -85,7 +85,7 @@
 
 				geometry.colors = colors;
 
-				material = new THREE.ParticleBasicMaterial( { size: 200, map: sprite, blending: THREE.BillboardBlending, vertexColors: true } );
+				material = new THREE.ParticleBasicMaterial( { size: 85, map: sprite, blending: THREE.BillboardBlending, vertexColors: true } );
 				material.color.setHSV( 1.0, 0.2, 0.8 );
 
 				particles = new THREE.ParticleSystem( geometry, material );