Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Three.js version is broken #13

Open
blaze33 opened this issue Jun 8, 2018 · 0 comments
Open

Three.js version is broken #13

blaze33 opened this issue Jun 8, 2018 · 0 comments

Comments

@blaze33
Copy link

blaze33 commented Jun 8, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant