提交 888ce629 编写于 作者: M Mr.doob

Fixed canvas_particles_sprite example.

上级 c200eaea
......@@ -12,7 +12,7 @@
}
a {
color:#0078ff;
color: #0078ff;
}
</style>
</head>
......@@ -49,7 +49,7 @@
scene = new THREE.Scene();
var material = new THREE.SpriteMaterial( {
map: new THREE.Texture( generateSprite() ),
map: new THREE.CanvasTexture( generateSprite() ),
blending: THREE.AdditiveBlending
} );
......@@ -136,7 +136,7 @@
new TWEEN.Tween( particle.scale )
.delay( delay )
.to( { x: 0, y: 0 }, 10000 )
.to( { x: 0.01, y: 0.01 }, 10000 )
.start();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册