You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.<anonymous> (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
The text was updated successfully, but these errors were encountered:
I get this error as well when I try to load a JSON file. Additionally, if I load the JSON file with THREE.FileLoader then try to add the data and get the data:
function ( data ) {
runtime.add( data.name, data );
var material = runtime.get( data.name );
console.log(material);
}
Error:
Uncaught TypeError: Cannot read property 'RawShaderMaterial' of undefined
at n.create (ShaderFrog.js:1)
at n.get (ShaderFrog.js:1)
at (index):60
at XMLHttpRequest.<anonymous> (three.js:30090)
In this area of shaderfrog-runtime.min.js:1: return r.material=new d["default"].RawShaderMaterial(r)
When it tries to get the data: runtime.get( data.name );
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.<anonymous> (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
The text was updated successfully, but these errors were encountered: