/** * @author mr.doob / http://mrdoob.com/ * @author alteredq / http://alteredqualia.com/ * * parameters = { * color: , * opacity: , * map: new THREE.Texture( ), * * size: , * * blending: THREE.NormalBlending, * depthTest: , * * vertexColors: , * * fog: * } */ THREE.ParticleBasicMaterial = function ( parameters ) { THREE.Material.call( this ); this.color = new THREE.Color( 0xffffff ); this.map = null; this.size = 1; this.sizeAttenuation = true; this.vertexColors = false; this.fog = true; this.setValues( parameters ); }; THREE.ParticleBasicMaterial.prototype = Object.create( THREE.Material.prototype ); THREE.ParticleBasicMaterial.prototype.clone = function () { return new THREE.ParticleBasicMaterial( this ); };