AndrewRayCode / AndrewRayCode/ShaderFrog-Runtime

Cannot read property 'XHRLoader' of undefined with vanilla JS build

Aperta
#20 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
79
Fork
16
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hello,

Getting this error message:

`Uncaught TypeError: Cannot read property 'XHRLoader' of undefined
at o (shaderfrog-runtime.min.js:1)
at n.load (shaderfrog-runtime.min.js:1)
at robo.js:136
at three.js:33659
at XMLHttpRequest. (three.js:30293)`

Line 136-139:
`runtime.load( 'Universe_In_A_Letter.json' , function (shaderData) {
var material = runtime.get(shaderData.name);
holoMesh.material = material;
});`

shaderfrog-runtime.min.js is included after three.js in index file. Any idea what's wrong?

Thanks

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.