oguzeroglu/ROYGBIV

AddedText in three.js r111 later is not working.

dslming opened this issue · 2 comments

AddedText in three.js r111 later is not working.

image
r111 later, need add in AddedText.js:

  this.geometry.setIndex(new THREE.BufferAttribute( new Uint32Array([0]), 1));
  this.geometry.setAttribute( 'position', new THREE.Float32BufferAttribute( [position.x, position.y, position.z], 3 ) );

Hey,

Thanks for reaching out about this.

The thing is, ROYGBIV uses a customised fork of THREE.js. This fork is optimised for the engine itself and would no go well with non-ROYGBIV usage. Since the engine injects it's own version of THREE.js this is fine.

Best!