aframe-effects
aframe-effects copied to clipboard
Three.js version is broken
three.js example does not work.
console output:
Uncaught TypeError: AFRAME.registerShader is not a function
at Object.<anonymous> (aframe-effects.js:2463)
at __webpack_require__ (aframe-effects.js:20)
at Object.<anonymous> (aframe-effects.js:237)
at __webpack_require__ (aframe-effects.js:20)
at Component (aframe-effects.js:40)
at aframe-effects.js:43
https://github.com/wizgrav/aframe-effects/blob/master/shaders/index.js#L46 does call a registerSahder function that should be defined by AFRAME but that ain't present when using Three.js.
I have some experience with three.js but none with Aframe so I'm having some trouble debugging this...