CanvasRenderer: Added distance(falloff) to PointLight. Removed illumination to ParticleCanvasMaterial.

This commit is contained in:
Mr.doob
2011-03-29 03:50:04 +01:00
parent 377d1904de
commit 449a981925
14 changed files with 69 additions and 88 deletions
+1 -2
View File
@@ -69,9 +69,8 @@
particleMaterial = new THREE.ParticleCanvasMaterial( {
color: 0x000000,
program: function ( context, color ) {
program: function ( context ) {
context.fillStyle = color.__styleString;
context.beginPath();
context.arc( 0, 0, 1, 0, PI2, true );
context.closePath();