mrdoob/three.js — Issue #1430: Particle vs. ParticleSystem
Author: renegademaster88
Created: 2012-03-01 14:00:26+00:00
State: open

Now i have tried using both of these, i wrote some particles using a Particle system myself and recently have been using Sparks.

Particle systems can assign vertex colours and images to each particle, but not change the size of a particle

Where as Particles have their own texture and can change size. However when i tried using Particle Base Material and assigned it a map and a colour, the colour didnt show through when setting

particle.target.material.color

var material = new THREE.ParticleBasicMaterial( { size: 85, map: sprite, vertexColors: true } );

http://www.nickfallon.net/3D/Attractors_sprite.html

Here you see the colour code working but using a ParticleCanvasMaterial

ar material = new THREE.ParticleCanvasMaterial( { program: SPARKS.CanvasShadersUtils.circles, blending:THREE.AdditiveBlending } );

http://www.nickfallon.net/3D/Attractors.html

Is there a way to get the best of both worlds, a texture map, that can change colour and size?