I'm trying to use this with Aframe and getting the above error when it gets added to the Object
var geometry = new THREE.Geometry();
geometry.vertices.push(this.data.start);
geometry.vertices.push(this.data.end);
var line = new MeshLine();
line.setGeometry( geometry );
var mesh = new THREE.Mesh(line.geometry, material);
this.el.object3D.add(mesh);
Any ideas what this could be?
three.js:22549 Uncaught TypeError: Cannot read property 'getUniforms' of undefined
at M (three.js:22549)
at we.renderBufferDirect (three.js:21561)
at _ (three.js:22322)
at b (three.js:22292)
at we.render (three.js:22054)
I'm trying to use this with Aframe and getting the above error when it gets added to the Object
Any ideas what this could be?
three.js:22549 Uncaught TypeError: Cannot read property 'getUniforms' of undefined at M (three.js:22549) at we.renderBufferDirect (three.js:21561) at _ (three.js:22322) at b (three.js:22292) at we.render (three.js:22054)