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
@@ -46,9 +46,8 @@
scene = new THREE.Scene();
var PI2 = Math.PI * 2;
var program = function ( context, color ) {
var program = function ( context ) {
context.fillStyle = color.__styleString;
context.beginPath();
context.arc( 0, 0, 1, 0, PI2, true );
context.closePath();