فهرست منبع

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 سال پیش
والد
کامیت
b817eaf9f9
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      examples/webgl_particles_billboards_colors.html

+ 1 - 1
examples/webgl_particles_billboards_colors.html

@@ -85,7 +85,7 @@
 
 
 				geometry.colors = colors;
 				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 );
 				material.color.setHSV( 1.0, 0.2, 0.8 );
 
 
 				particles = new THREE.ParticleSystem( geometry, material );
 				particles = new THREE.ParticleSystem( geometry, material );