浏览代码

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;
 
-				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 );