aframe-effects icon indicating copy to clipboard operation
aframe-effects copied to clipboard

Three.js version is broken

Open blaze33 opened this issue 6 years ago • 0 comments

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...

blaze33 avatar Jun 08 '18 22:06 blaze33