AndrewRayCode / AndrewRayCode/ShaderFrog-Runtime

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

Open
#20 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
79
Forks
16
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.