mirror of
https://github.com/wahyd4/three.js.git
synced 2026-08-09 04:56:01 +10:00
CanvasRenderer: Added distance(falloff) to PointLight. Removed illumination to ParticleCanvasMaterial.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user