Oh, and make sure its var sprite:Sprite3D = new Sprite3D(material);

notice in your snippet you put new Sprite()

Reply via email to