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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user