using deployed texture

This commit is contained in:
ericrius1 2015-12-02 16:44:47 -08:00
parent 07430fb75a
commit d2d0326c02

View file

@ -66,7 +66,7 @@ function controller(side, triggerAction) {
this.cycleColorButton = side == LEFT ? Controller.Standard.LeftPrimaryThumb : Controller.Standard.RightPrimaryThumb;
this.currentColorIndex = 0;
this.currentColor = colorPalette[this.currentColorIndex];
var textures = "http://localhost:8080/trails.png?v2" + Math.random();
var texture = "https://s3.amazonaws.com/hifi-public/eric/textures/paintStrokes/trails.png";
// this.light = Entities.addEntity({
// type: 'Light',
@ -84,7 +84,7 @@ function controller(side, triggerAction) {
y: LINE_DIMENSIONS,
z: LINE_DIMENSIONS
},
textures: textures,
textures: texture,
lifetime: LIFETIME
});
this.points = [];