I am getting error while adding text in the sprite,how can i over come this error, thanks in advance.
var spritey = makeTextSprite( " Hello, ",
{ fontsize: 24, borderColor: {r:255, g:0, b:0, a:1.0}, backgroundColor: {r:255, g:100, b:100, a:0.8} } );
spritey.position.set(-85,105,55);
scene.add( spritey );
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire