ayush
ayush

Reputation: 127

Threejs loaders not working in Chrome

I have been using three.js to put a 3D model on the web but it seems that the loaders provided in the library are not working in chrome. They work perfectly in Firefox though. I checked that I have the latest version of chrome and even checked that webgl is enabled in chrome. Can somebody tell me what could be wrong here? Any help would be appreciated!

Upvotes: 2

Views: 5055

Answers (1)

Dragan Okanovic
Dragan Okanovic

Reputation: 7771

https://github.com/mrdoob/three.js/wiki/How-to-run-things-locally

Make sure that you run Chrome with --allow-file-access-from-files flag.

Hope this solves your problem.

Upvotes: 2

Related Questions